﻿* {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
}

body {
    background: linear-gradient(135deg, #eef2f7 0%, #d4e0ec 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    margin: 0;
}

/* card container with subtle shadow and rounded corners */
.login-card {
    max-width: 460px;
    width: 100%;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0,0,0,0.02);
    transition: transform 0.2s ease;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
}

/* logo area styling */
.logo-container {
    background: #ffffff;
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.company-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.brand-name {
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #1F3B4C 0%, #2C5F7A 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.tagline {
    font-size: 0.8rem;
    color: #6c7a89;
    margin-top: 0.2rem;
}

/* form body */
.form-body {
    padding: 2rem 2rem 1.5rem 2rem;
}

.input-group-custom {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    font-size: 0.85rem;
    color: #2c3e4e;
    margin-bottom: 0.4rem;
}

.input-icon {
    position: relative;
}

    .input-icon i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #8e9eae;
        font-size: 1.1rem;
        z-index: 2;
    }

.form-control-custom {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.6rem;
    font-size: 0.95rem;
    border-radius: 60px;
    border: 1px solid #cfdfed;
    background-color: #fefefe;
    transition: all 0.2s;
}

    .form-control-custom:focus {
        border-color: #2c7da0;
        box-shadow: 0 0 0 4px rgba(44, 125, 160, 0.15);
        outline: none;
    }

/* login button */
.btn-login {
    background: #1f5e7a;
    border: none;
    border-radius: 60px;
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    color: white;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

    .btn-login:hover {
        background: #134b63;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(31, 94, 122, 0.25);
    }

    .btn-login:active {
        transform: translateY(1px);
    }

/* footer / copyright area */
.card-footer {
    background: #f8fafd;
    border-top: 1px solid #eef2f6;
    padding: 1.1rem 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: #5b6f82;
}

.copyright-text, .app-version {
    margin: 0;
    letter-spacing: 0.2px;
}

.app-version {
    font-weight: 500;
    margin-top: 0.2rem;
    font-size: 0.7rem;
    color: #7f8c8d;
}

/* alert message style */
.login-alert {
    margin-bottom: 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    display: none;
}

/* responsive touches */
@media (max-width: 500px) {
    .form-body {
        padding: 1.5rem;
    }

    .logo-container {
        padding: 1.5rem 1.5rem 0.8rem 1.5rem;
    }

    .btn-login {
        padding: 0.7rem;
    }
}
