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

/* BODY */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #61f7b8, #3f864c);
    min-height: 100vh;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0f172a;
    padding: 12px 20px;
    width: 100%;
}

.brand-link {
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #facc15;
    font-weight: bold;
    font-size: 18px;
}

.logo-img {
    width: 90px;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-list li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.nav-list li a:hover {
    color: #facc15;
}

/* LOGIN CONTAINER */
.login-container {
    min-height: calc(100vh - 64px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
}

/* LOGIN BOX */
.login-box {
    background: white;
    padding: 35px 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.8s ease;
}

/* TITLE */
.login-box h2 {
    margin-bottom: 10px;
    color: #0f172a;
}

.login-box p {
    color: #555;
    font-size: 14px;
    margin-bottom: 20px;
}

/* INPUT */
.login-box input {
    width: 100%;
    padding: 12px 14px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
}

.login-box input:focus {
    border-color: #facc15;
    box-shadow: 0 0 5px rgba(250, 204, 21, 0.5);
}

/* BUTTON */
.login-box button {
    width: 100%;
    padding: 12px;
    background: #0f172a;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.login-box button:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

/* MESSAGE */
#msg {
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .login-box {
        padding: 28px 20px;
    }
}