/* Login Page Styles */

  :root {
      --glass-blur: 35px;
      --glass-saturation: 100%;
      --glass-opacity: 0.08;
      --text-color: #ffffff;
      --header-height: 70px;
      --player-height: 70px;
      --nav-height: 80px;
      --large-radius: 999px;
      --medium-radius: 20px;
      --nav-item-radius: 15px;
      --shadow-color: rgba(0,0,0,0.25);
      --border-color: rgba(255,255,255,0.2);
      --active-fill-color: rgba(255,255,255,0.15);
      --active-text-color: #ff3b30;
      --text-muted-color: rgba(255,255,255,0.6);
    }


.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-image: url('../images/005d2be5285be58e71ac8007dcdaff9375a0dd04.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-container {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    padding: 26px 30px 28px;
    display: flex;
    flex-direction: column;
}

.login-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 47px; z-index: 3
}

.login-logo {
    width: 60px;
    height: 41px;
}

.login-separator {
    width: 1px;
    height: 34.5px;
    background-color: var(--text-white);
}

.login-title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: var(--text-white);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 10px; z-index: 3;
}

.login-form .alert { padding: 0; background: transparent; border: 0; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-white);
}

.form-label .required {
    color: #FF6B6B;
    font-weight: 700;
}

.form-input {
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--radius-md);
    padding: 0 15px;
    color: var(--text-white);
    font-size: 16px;
    transition: all var(--transition-fast);
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-input:focus {
    outline: 2px solid var(--primary-color-50);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-input.error {
    border: 1px solid #FF6B6B;
}

.error-message {
    color: #FF6B6B;
    font-size: 12px;
    margin-top: -8px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Password Toggle Styles */
.password-input-wrapper {
    position: relative;
    width: 100%; margin-bottom: 10px;
}

.password-input-wrapper .form-input {
    width: 100%;
    padding-right: 50px;
}

/* Reset button element defaults */
.login-form button[type="button"].password-toggle-btn {
    all: unset;
    position: absolute;
    right: 15px;
    height: 50px; top: 0; bottom: 0;
    cursor: pointer;
    width: 20px;
    opacity: 0.7;
    z-index: 10; 
}

.password-toggle-btn {
    position: absolute;
    right: 15px;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    z-index: 10;
    box-shadow: none !important;
    outline: none !important;
    text-transform: none !important;
    font-weight: normal !important;
    line-height: normal !important;
}

.password-toggle-btn:hover {
    opacity: 1;
    background: none !important;
    background-color: transparent !important;
    transform: translateY(-50%);
}

.password-toggle-btn:focus {
    outline: none !important;
    background: none !important;
    background-color: transparent !important;
}

.password-toggle-btn:active {
    background: none !important;
    background-color: transparent !important;
    transform: translateY(-50%);
}

.password-toggle-btn::before,
.password-toggle-btn::after {
    content: none !important;
    display: none !important;
}

.password-toggle-btn .eye-icon {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
    pointer-events: none;
    background: transparent;
}

.forgot-password-link {
    text-align: right;
    font-size: 12px;
}

.forgot-password-link a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.forgot-password-link a:hover {
    color: var(--primary-color-50);
}





/* Responsive Design */
@media (max-width: 480px) {
    .login-container {
        padding: 20px;
    }

    .login-header {
        margin-bottom: 30px;
    }

    .login-title {
        font-size: 24px;
    }

    .button-group {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        height: 40px;
        font-size: 14px;
    }
}
