﻿/* General */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #021332, #2a5298);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Login Card */
.login-container {
    background: rgba(255, 255, 255, 0.15); /* more minimal glass effect */
    backdrop-filter: blur(12px);
    padding: 30px 25px; /* reduced padding */
    border-radius: 15px; /* slightly smaller radius */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 30%; /* fit-content */
    max-width: 320px;
    text-align: center;
    position: relative;
    list-style: none;
}

/* Header & Icon */
.login-header .user-icon {
    font-size: 50px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    color: #fff;
}

.login-header h2 {
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 20px;
    color: #fff;
}

/* Input Groups */
.input-group {
    position: relative;
    margin-bottom: 18px; /* less margin */
}

.input-field {
    width: 100%;
    padding: 10px 35px 10px 12px; /* reduced padding */
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 14px;
    outline: none;
    color: #fff;
    transition: all 0.2s ease;
}

    .input-field::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

.input-group i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 16px;
}

/* Input Focus */
.input-field:focus {
    border-color: #fff;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
}

/* Options */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px; /* smaller text */
    margin-bottom: 18px;
}

    .options label {
        display: flex;
        align-items: center;
        cursor: pointer;
        color: #fff;
    }

    .options input[type="checkbox"] {
        transform: scale(1);
        margin-right: 6px;
    }

    .options a {
        color: #fff;
        text-decoration: none;
        font-size: 12px;
    }

        .options a:hover {
            text-decoration: underline;
        }

/* Login Button */
.btn-login {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        background: linear-gradient(135deg, #00f2fe, #4facfe);
    }

/* Error Message */
.error-msg {
    color: #ff6b6b;
    font-size: 13px;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 400px) {
    .login-container {
        width: 90%;
        padding: 20px 15px;
    }

    .login-header h2 {
        font-size: 18px;
    }

    .btn-login {
        font-size: 13px;
    }
}

