﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    overflow: hidden;
    position: relative;
}

    body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 50%);
        animation: pulse 8s infinite ease-in-out;
        z-index: -1;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.login-box {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(12px);
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    width: 90px;
    height: 70px;
    border-radius: 100%;
    object-fit: cover;
}

.login-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #1a3c34;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
}

    .input-group label {
        display: block;
        font-size: 14px;
        color: #1a3c34;
        margin-bottom: 8px;
        font-weight: 500;
    }

    .input-group input {
        width: 100%;
        padding: 14px 16px;
        border: 2px solid transparent;
        border-radius: 10px;
        font-size: 16px;
        background: linear-gradient(145deg, #f0 disdainf0, #ffffff);
        box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
        outline: none;
        transition: border 0.3s, box-shadow 0.3s, transform 0.3s;
    }

        .input-group input:focus {
            border: 2px solid #1a3c34;
            box-shadow: 0 0 10px rgba(26, 60, 52, 0.2);
            transform: translateY(-2px);
        }

        .input-group input::placeholder {
            color: #777;
            font-weight: 400;
        }

.forgot-password {
    text-align: right;
}

    .forgot-password a {
        color: #1a3c34;
        font-size: 14px;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

        .forgot-password a:hover {
            color: #2a6f62;
            text-decoration: underline;
        }

.login-button {
    background: linear-gradient(90deg, #1a3c34, #2a6f62);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

    .login-button:hover {
        background: linear-gradient(90deg, #2a6f62, #1a3c34);
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }

    .login-button:active {
        transform: translateY(0);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

.error-message {
    color: #d81b60;
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
    background: #fce4ec;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
}

.footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #555;
}

@media (max-width: 480px) {
    .login-box {
        padding: 25px;
        max-width: 95%;
    }

    .login-title {
        font-size: 26px;
    }

    .input-group input {
        font-size: 15px;
        padding: 12px;
    }

    .login-button {
        font-size: 15px;
        padding: 12px;
    }

    .logo {
        width: 50px;
        height: 50px;
    }
}
