﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f8f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.login-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 420px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

    .login-header h1 {
        color: #128C7E;
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .login-header p {
        color: #777;
        font-size: 16px;
    }

.input-group {
    margin-bottom: 24px;
    position: relative;
}

    .input-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #555;
        font-size: 14px;
    }

    .input-group input {
        width: 100%;
        padding: 14px 16px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 15px;
        transition: all 0.3s;
    }

        .input-group input:focus {
            outline: none;
            border-color: #128C7E;
            box-shadow: 0 0 0 2px rgba(18, 140, 126, 0.2);
        }

.password-toggle {
    position: absolute;
    right: 12px;
    top: 40px;
    color: #777;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 15px;
}

.login-button {
    width: 100%;
    padding: 14px;
    background-color: #128C7E;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

    .login-button:hover {
        background-color: #0e766a;
    }

.loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    color: #777;
    font-size: 14px;
}

.decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(18, 140, 126, 0.3);
    border-radius: 50%;
    z-index: 0;
}

.decoration-1 {
    top: -100px;
    right: -100px;
}

.decoration-2 {
    bottom: -80px;
    left: -80px;
    width: 160px;
    height: 160px;
}

@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
}
