/*!
 * Copyright © 2024–2026 aplexi (https://aplexi.ai). All rights reserved.
 * Proprietary. Not licensed for redistribution, derivative works, or
 * use as a design reference for competing products.
 * License: https://aplexi.ai/md-render/?md=/static/docs/aplexi-license.md
 */
/* Login page specific styles */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    background: white;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

h2 {
    color: #333;
    margin-bottom: 24px;
}

form {
    display: flex;
    flex-direction: column;
}

form p {
    margin: 0 0 10px 0;
    text-align: left;
}

button {
    width: 100%;
    margin: 10px auto 0;
}

.footer {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

/* Message area styles */
.message-area {
    margin: 0 0 20px 0;
}

.message {
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
    text-align: left;
    margin-bottom: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-success {
    background: rgba(40, 167, 69, 0.2);
    border-left: 4px solid #28a745;
    color: #155724;
}

.message-error {
    background: rgba(220, 53, 69, 0.2);
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.message-icon {
    font-size: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

.message-text {
    flex-grow: 1;
}

/* Password reset form styles */
.help-text {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

.help-text-block {
    color: #666;
    font-size: 13px;
    text-align: left;
}

.disabled-input {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Footer link styling */
.footer a {
    color: #0066cc;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Aplexi shimmer branding */
.aplexi-shimmer {
    font-weight: bold;
    font-style: italic;
    color: rgb(0, 57, 146);
    background: linear-gradient(90deg, rgb(0, 57, 146) 0%, #00a8ff 50%, rgb(0, 57, 146) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: brandingShimmer 2.5s ease-in-out infinite;
}

@keyframes brandingShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Field error styling */
.field-error {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}