﻿:root {
    --accent: #10b981;
    --accent-dark: #059669;
    --text: #111827;
    --border: #e5e7eb;
}

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px 15px;
   
}

.login-container {
    background: white;
    width: 100%;
    max-width: 660px;
    border-radius: 30px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid var(--border);
}

.header-section img.header-image {
    width: 100%;
    height: 185px;
    object-fit: cover;
}

.company-info {
    text-align: center;
    margin-top: -45px;
    position: relative;
    z-index: 2;
}

.company-logo {
    background: white;
    width: 98px;
    height: 98px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.company-info h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-top: 12px;
}

.login-form {
    padding: 40px 35px 50px;
}

    .login-form h6 {
        font-size: 1.6rem;
        font-weight: 600;
        text-align: center;
        margin-bottom: 30px;
        color: var(--text);
    }

.form-group {
    margin-bottom: 26px;
}

    .form-group label {
        font-weight: 600;
        color: #374151;
        margin-bottom: 8px;
        display: block;
    }

.form-control {
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 16px;
    font-size: 1.08rem;
}

    .form-control:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.15);
    }

.password-input {
    padding-right: 55px;
}

.toggle-password {
    position: absolute;
    left: 22px;
    top: 52%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.45rem;
    color: var(--accent);
    cursor: pointer;
}

.btn-login {
    width: 100%;
    padding: 17px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.22rem;
    font-weight: 600;
    margin: 15px 0 20px;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        background: var(--accent-dark);
        transform: translateY(-3px);
    }

.text-center a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

    .text-center a:hover {
        color: var(--accent-dark);
    }

/* Responsive */
@media (max-width: 576px) {
    .login-container {
        border-radius: 24px;
        margin: 10px;
    }

    .login-form {
        padding: 30px 25px 40px;
    }

    .header-image {
        height: 160px;
    }
}
