* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

h2 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 5px;
    text-align: center;
}

.subtitle {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 25px;
    text-align: center;
}

.login-box {
    width: 400px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    width: 250px; 
    height: auto;
}

.error-alert {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    text-align: center;
}

.success-alert {
    margin-top: 1rem; 
    color: #90e0ef; 
    font-weight: 500; 
    text-align: center;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.password-input-wrapper {
    position: relative;
}

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

.password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.password-toggle:hover {
    color: #111827;
}

.input-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    color: #ffffff;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: #000000;
    font-size: 14px; 
    outline: none;
    transition: border 0.3s ease;
}

.input-group input:focus {
    border-color: #0052cc;
    background: #ffffff;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 25px;
    color: #d1d5db;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: #0048ff;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
}

.btn-login:hover {
    background: #0048ff;
}

.btn-login:focus,
.btn-login:active {
    transform: scale(0.98);
    outline: none;
    box-shadow: none;
}

.btn-register {
    width: 100%;
    padding: 12px;
    background: #ffffff;
    border: none;
    border-radius: 8px;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

.footer-text {
    font-size: 13px;
    color: #e0e0e0;
    margin-top: 25px;
    text-align: center;
}

.footer-text-guest {
    font-size: 13px;
    color: #e0e0e0;
    margin-top: 12px;
    text-align: center;
}

.register-link {
    color: #4ea8de;
    text-decoration: none;
    font-weight: 500;
}
 
.register-link:hover {
    text-decoration: none;
    color: #90e0ef;
}

.guest-link {
    color: #4ea8de;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.guest-link:hover {
    text-decoration: none;
    color: #90e0ef;
}