/* Auth Pages Styles - Login/Register */

/* Main Content Area - Now using header.php layout */

.auth-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Logo */
.auth-logo {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
}

.auth-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Typography */
.auth-title {
    font-size: 1.52rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* Google Button */
.auth-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: #000000;
    border: 1px solid #374151;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 300;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.auth-google-btn:hover {
    background: #1a1a1a;
    color: #ffffff;
}

.auth-google-btn svg,
.auth-google-btn img {
    width: 20px;
    height: 20px;
}

/* Separator */
.auth-separator {
    display: flex;
    align-items: center;
    margin: 1.25rem 0;
}

.auth-separator-line {
    flex: 1;
    height: 1px;
    background: #374151;
}

.auth-separator-text {
    padding: 0 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #90A4C0;
    text-transform: uppercase;
}

/* Form Elements */
.auth-form {
    width: 100%;
}

.auth-input-group {
    position: relative;
    margin-bottom: 1rem;
}

.auth-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 400;
    color: #1F2937;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input::placeholder {
    color: #6b7280;
}

.auth-input:focus {
    border-color: #378FDC;
    box-shadow: 0 0 0 3px rgba(55, 143, 220, 0.15);
}

/* Readonly/Disabled Input */
.auth-input-readonly {
    background: #1F2937;
    border-color: #374151;
    color: #ffffff;
    cursor: default;
}

.auth-input-readonly:focus {
    border-color: #374151;
    box-shadow: none;
}

/* Input with Edit Button */
.auth-input-with-action {
    padding-right: 4rem;
}

.auth-input-action {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #378FDC;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}

.auth-input-action:hover {
    color: #5FACF0;
}

/* Password Toggle */
.auth-password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-password-toggle:hover {
    color: #9ca3af;
}

.auth-password-toggle svg {
    width: 20px;
    height: 20px;
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    padding: 0.85rem 1rem;
    background: #378FDC;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.auth-submit-btn:hover {
    background: #2a7bc8;
}

.auth-submit-btn:disabled {
    background: #4b5563;
    cursor: not-allowed;
}

/* Forgot Password link (password step) */
.auth-forgot {
    margin: -0.25rem 0 1rem;
    font-size: 0.95rem;
    text-align: right;
}

.auth-forgot a {
    color: #76BBF8;
    text-decoration: none;
}

.auth-forgot a:hover {
    text-decoration: underline;
}

/* Footer Link */
.auth-footer {
    margin-top: 1.25rem;
    font-size: 1rem;
    font-weight: 300;
    color: #90A4C0;
}

.auth-footer a {
    color: #76BBF8;
    font-weight: 500;
    text-decoration: none;
}

.auth-footer a:hover {
    color: #93c9fa;
    text-decoration: underline;
}

/* Error Messages */
.auth-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: #fca5a5;
    font-size: 0.9rem;
    text-align: left;
}

/* Success Messages */
.auth-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: #6ee7b7;
    font-size: 0.9rem;
    text-align: left;
}

.auth-consent-box {
    background: #111827;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.auth-consent-meta {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-consent-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1rem;
    text-align: left;
    color: #e5e7eb;
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-consent-checkbox {
    margin-top: 0.2rem;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.auth-consent-check a {
    color: #76BBF8;
    text-decoration: underline;
}

/* Step Transitions */
.auth-step {
    display: none;
}

.auth-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        max-width: 100%;
    }
    
    .auth-logo {
        width: 160px;
        height: 160px;
    }
    
    .auth-title {
        font-size: 1.35rem;
    }
}
