/* =====================================================
   THEMIS DERGI - LOGIN PAGE STYLES
   ===================================================== */

/* ----- Login Page Layout ----- */
.login-page {
    min-height: 100vh;
    background: var(--gray-100);
}

.login-container {
    display: flex;
    min-height: 100vh;
}

/* ----- Left Side - Branding ----- */
.login-branding {
    flex: 1;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

/* Register page - Sticky left side */
.register-page-full {
    height: 100vh;
    overflow: hidden;
}

.register-page-full .login-container {
    height: 100vh;
    overflow: hidden;
}

.register-page-full .login-branding {
    position: fixed;
    left: 0;
    top: 0;
    width: 50%;
    height: 100vh;
    overflow: hidden;
}

.register-page-full .login-form-side {
    margin-left: 50%;
    width: 50%;
    height: 100vh;
    overflow-y: auto;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}

.login-branding::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.login-branding-content {
    position: relative;
    z-index: 1;
}

.login-logo {
    display: inline-block;
    margin-bottom: 60px;
}

.login-logo img {
    height: 50px;
    width: auto;
}

.login-tagline {
    margin-bottom: 50px;
}

.login-tagline h1 {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--white);
    max-width: 400px;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.login-features li svg {
    flex-shrink: 0;
    color: var(--accent);
}

.login-branding-footer {
    position: relative;
    z-index: 1;
}

.login-branding-footer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ----- Right Side - Form ----- */
.login-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: var(--white);
}

.login-form-container {
    width: 100%;
    max-width: 420px;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 40px;
    transition: color var(--transition-fast);
}

.back-to-home:hover {
    color: var(--accent);
}

.login-form-header {
    margin-bottom: 32px;
}

.login-form-header h2 {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.login-form-header p {
    font-size: 15px;
    color: var(--gray-600);
}

/* ----- Form Styles ----- */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper svg {
    position: absolute;
    left: 16px;
    color: var(--gray-400);
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--gray-800);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: 10px;
    outline: none;
    transition: all var(--transition-fast);
}

.input-wrapper input::placeholder {
    color: var(--gray-400);
}

.input-wrapper input:focus {
    background: var(--white);
    border-color: var(--accent);
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    transition: color var(--transition-fast);
    pointer-events: auto;
}

.toggle-password svg {
    position: static;
    pointer-events: none;
}

.toggle-password:hover {
    color: var(--gray-600);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-600);
    cursor: pointer;
    position: relative;
    padding-left: 28px;
}

.remember-me input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.remember-me .checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--gray-100);
    border: 2px solid var(--gray-300);
    border-radius: 5px;
    transition: all var(--transition-fast);
}

.remember-me input:checked~.checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.remember-me .checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.remember-me input:checked~.checkmark::after {
    display: block;
}

.forgot-password {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.forgot-password:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Submit Buttons */
.login-submit-btn {
    width: 100%;
    padding: 16px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

.register-btn {
    display: block;
    width: 100%;
    padding: 16px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.register-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Divider */
.login-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.login-divider span {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    letter-spacing: 1px;
}

/* Social Login */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

/* Register Link */
.register-link {
    margin-top: 32px;
    text-align: center;
    font-size: 14px;
    color: var(--gray-600);
}

.register-link a {
    color: var(--accent);
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

/* ----- Detailed Register Form ----- */
.register-page-full .login-form-side {
    overflow-y: auto;
    padding: 40px 50px;
}

.register-form-container {
    max-width: 520px;
}

.register-form-detailed {
    gap: 20px;
}

/* Basic Input Styles */
.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--gray-800);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    outline: none;
    transition: all var(--transition-fast);
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

/* Required Asterisk */
.required {
    color: #e53935;
    font-weight: 600;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
    position: relative;
    padding-left: 28px;
}

.radio-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.radio-label input:checked~.radio-custom {
    border-color: var(--accent);
}

.radio-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.radio-label input:checked~.radio-custom::after {
    display: block;
}

/* Select Dropdown */
.select-wrapper {
    position: relative;
}

.form-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.select-wrapper svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

/* Checkbox Styles */
.checkbox-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-600);
    cursor: pointer;
    position: relative;
    padding-left: 28px;
    line-height: 1.5;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.checkbox-label input:checked~.checkbox-custom {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked~.checkbox-custom::after {
    display: block;
}

/* Searchable Select / Custom Dropdown */
.searchable-select-wrapper {
    position: relative;
}

.searchable-select {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.searchable-select .select-text {
    flex: 1;
}

.searchable-select svg {
    flex-shrink: 0;
    margin-left: 10px;
    color: var(--gray-400);
    transition: transform var(--transition-fast);
}

.searchable-select:hover {
    border-color: var(--gray-400);
}

.searchable-select.active {
    border-color: #5B9BD5;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.searchable-select.active svg {
    transform: rotate(180deg);
}

.searchable-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid #5B9BD5;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: none;
    z-index: 100;
    max-height: 300px;
    overflow: hidden;
}

.searchable-dropdown.show {
    display: block;
}

.search-input-wrapper {
    padding: 8px;
    border-bottom: 1px solid var(--gray-200);
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--gray-800);
    background: #E8F4FC;
    border: none;
    border-radius: 6px;
    outline: none;
}

.search-input-wrapper input::placeholder {
    color: var(--gray-400);
}

.dropdown-options {
    max-height: 200px;
    overflow-y: auto;
}

.dropdown-option {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dropdown-option:hover {
    background: var(--gray-100);
}

.dropdown-option.highlighted {
    background: #5B9BD5;
    color: var(--white);
}

.dropdown-option.selected {
    background: var(--gray-100);
    font-weight: 500;
}

.search-hint {
    padding: 10px 16px;
    font-size: 12px;
    color: #E65100;
    background: #FFF3E0;
    border-top: 1px solid var(--gray-200);
}

/* Agreements */
.agreements-group {
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.agreement-label {
    font-size: 13px;
    color: var(--gray-700);
}

.agreement-label a {
    color: #1976D2;
    font-weight: 500;
}

.agreement-label a:hover {
    text-decoration: underline;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input {
    padding-right: 45px;
}

.toggle-password-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.toggle-password-btn:hover {
    color: var(--gray-600);
}

/* File Upload Area */
.file-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    border: 2px dashed var(--gray-300);
    border-radius: 12px;
    background: var(--gray-50);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--accent);
    background: rgba(239, 68, 68, 0.05);
}

.file-upload-area svg {
    color: var(--gray-400);
    margin-bottom: 12px;
}

.file-upload-text {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.file-upload-text span {
    color: var(--accent);
    font-weight: 600;
}

.file-upload-hint {
    font-size: 12px;
    color: var(--gray-400);
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
}

.file-preview svg {
    color: var(--accent);
    flex-shrink: 0;
}

.file-name {
    flex: 1;
    font-size: 14px;
    color: var(--gray-700);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.file-remove:hover {
    color: var(--accent);
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--gray-400);
}

/* Register Submit Button */
.register-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .login-branding {
        padding: 40px;
    }

    .login-tagline h1 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-branding {
        padding: 40px 30px;
        min-height: auto;
    }

    .login-logo {
        margin-bottom: 30px;
    }

    .login-tagline {
        margin-bottom: 30px;
    }

    .login-tagline h1 {
        font-size: 20px;
    }

    .login-features {
        display: none;
    }

    .login-branding-footer {
        display: none;
    }

    .login-form-side {
        padding: 40px 30px;
    }

    .back-to-home {
        margin-bottom: 24px;
    }

    /* Register Page Mobile - Kırmızı üstte, form altta */
    .register-page-full {
        height: auto;
        overflow: visible;
    }

    .register-page-full .login-container {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .register-page-full .login-branding {
        position: relative;
        width: 100%;
        height: auto;
        min-height: auto;
        padding: 40px 30px;
    }

    .register-page-full .login-form-side {
        margin-left: 0;
        width: 100%;
        height: auto;
        overflow: visible;
        padding: 30px 25px;
        display: block;
    }

    .register-form-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .login-branding {
        padding: 30px 20px;
    }

    .login-form-side {
        padding: 30px 20px;
    }

    .form-options {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}

/* ===== KVKK Agreement Styles ===== */
.agreements-group {
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agreement-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.agreement-checkbox {
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}

.agreement-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.agreement-checkmark {
    display: block;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.agreement-checkbox input:checked~.agreement-checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.agreement-checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.agreement-checkbox input:checked~.agreement-checkmark::after {
    display: block;
}

.agreement-text {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
}

.agreement-link {
    color: #1976D2;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.agreement-link:hover {
    color: #1565C0;
    text-decoration: underline;
}

/* =====================================================
   FORGOT PASSWORD STYLES
   ===================================================== */
.forgot-password-views {
    position: relative;
    overflow: hidden;
}

.forgot-view {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
}

.forgot-view.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* =====================================================
   SHARED SITE HEADER/FOOTER COMPAT
   ===================================================== */
.login-page .login-container {
    min-height: calc(100vh - 88px);
    margin-top: 88px;
}

.login-page.register-page-full {
    height: auto;
    overflow: visible;
}

.login-page.register-page-full .login-container {
    height: auto;
    min-height: calc(100vh - 88px);
    overflow: visible;
}

.login-page.register-page-full .login-branding {
    top: 88px;
    height: calc(100vh - 88px);
}

.login-page.register-page-full .login-form-side {
    height: calc(100vh - 88px);
}

@media (max-width: 1024px) {
    .login-page .login-container {
        margin-top: 74px;
        min-height: calc(100vh - 74px);
    }

    .login-page.register-page-full .login-branding {
        top: 74px;
        height: auto;
    }

    .login-page.register-page-full .login-form-side {
        height: auto;
    }
}

.forgot-view.slide-out {
    opacity: 0;
    transform: translateX(-30px);
}

.forgot-view.slide-in {
    animation: slideIn 0.4s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Forgot Icon */
.forgot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(107, 30, 59, 0.1) 0%, rgba(233, 69, 96, 0.1) 100%);
    border-radius: 50%;
    margin: 0 auto 24px;
    color: var(--accent);
}

/* Success View */
.success-header {
    text-align: center;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-radius: 50%;
    margin: 0 auto 24px;
    color: #4CAF50;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.success-email-text {
    font-size: 15px;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.success-email-text strong {
    color: var(--accent);
}

.success-hint {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.resend-btn {
    background: none;
    border: none;
    font-size: 14px;
    color: var(--gray-500);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.resend-btn span {
    color: var(--accent);
    font-weight: 600;
}

.resend-btn:hover span {
    text-decoration: underline;
}

/* Alert Message */
.alert-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.alert-message.alert-show {
    opacity: 1;
    transform: translateY(0);
}

.alert-message.alert-error {
    background: #FFF3E0;
    border: 1px solid #FFE0B2;
}

.alert-message.alert-error .alert-icon {
    color: #F57C00;
}

.alert-message.alert-success {
    background: #E8F5E9;
    border: 1px solid #C8E6C9;
}

.alert-message.alert-success .alert-icon {
    color: #4CAF50;
}

.alert-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-text {
    flex: 1;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.5;
}

.alert-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0;
    transition: color var(--transition-fast);
}

.alert-close:hover {
    color: var(--gray-600);
}

/* Button Loading State */
.btn-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Back to Login Button - Elegant Style */
.back-to-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    color: var(--gray-700);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.back-to-login-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(107, 30, 59, 0.03);
}

.back-to-login-btn svg {
    transition: transform var(--transition-fast);
}

.back-to-login-btn:hover svg {
    transform: translateX(-4px);
}

/* Resend Email Section */
.resend-text {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
}

.resend-link {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.resend-link:hover {
    color: var(--primary-dark);
}

.resend-link:disabled {
    color: var(--gray-400);
    cursor: not-allowed;
}

/* Password Strength Indicator - Inline Style */
.password-strength-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.strength-item-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.strength-item-inline .check-icon {
    opacity: 0.4;
    transition: opacity var(--transition-fast);
}

.strength-item-inline.valid {
    color: #2196F3;
}

.strength-item-inline.valid .check-icon {
    opacity: 1;
    color: #2196F3;
}
