﻿:root {
    --primary: #00897b;
    --primary-dark: #00695c;
    --bg: #f4f6f8;
    --text: #000;
    --border: #e0e0e0;
}

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

body {
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.login-container {
    background: #fff;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 360px;
    text-align: center;
}

.logo {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 30px;
}

label {
    display: block;
    text-align: left;
    font-weight: 500;
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 18px;
}

.btn-login {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .btn-login:hover {
        background: var(--primary-dark);
    }

.footer-text {
    font-size: 12px;
    color: #777;
    margin-top: 25px;
}

    .footer-text a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 500;
    }

        .footer-text a:hover {
            text-decoration: underline;
        }

/* 🔹 Logout success message */
.logout-alert {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 25px;
    border-radius: 6px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    font-size: 15px;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease;
}
