* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #FFF7ED;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.login-container {
    width: 100%;
    max-width: 420px;
    text-align: center;
    margin: auto;
    padding: 20px;
}

.site-footer {
    padding: 1rem;
    background: transparent;
    border: none;
}

.footer-bottom {
    padding-top: 1rem;
    font-size: 0.8rem;
    color: #9CA3AF;
    border: none;
}

.login-form {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.logo {
    color: #800020;
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.25rem;
    font-weight: normal;
    color: #333;
    margin-bottom: 1.5rem;
}




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

.input-group label {
    display: none;

}

.input-group .icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;

}

.input-group input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    background-color: #F9FAFB;
    font-size: 0.95rem;
    color: #111827;
}

.input-group input::placeholder {
    color: #9CA3AF;
}

.input-group .toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    cursor: pointer;
}




a {
    color: #800020;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


.signin-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background-color: #800020;
    color: white;
    font-size: 1rem;
    font-weight: normal;
    cursor: pointer;
    transition: background-color 0.2s;
}

.signin-btn:hover {
    background-color: #DC2626;
}

.signup-link {
    font-size: 0.875rem;
    color: #374151;
    margin-top: 1.5rem;
}

.back-home {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6B7280;
}

.back-home i {
    margin-right: 0.25rem;
}





#message {
    font-size: 0.9rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    display: none;
}

#message.success {
    display: block;
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

#message.error {
    display: block;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.site-footer {
    width: 100%;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.popup-content h3 {
    color: #800020;
    margin-top: 0;
    font-weight: 500;
}

.popup-content p {
    color: #333;
    margin: 15px 0 25px;
    font-size: 1rem;
    line-height: 1.5;
}

#popup-close-btn {
    background: #800020;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

#popup-close-btn:hover {
    background: #5a0016;
}