@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body.admin-login-body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fff;
    color: #0c3d56;
}

.admin-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #fff;
}

.admin-login-form {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    min-height: 100vh;
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border: 1px solid #e3e8ec;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(12, 61, 86, 0.08);
    padding: 36px 40px 28px;
}

.login-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.login-logo-image {
    width: 118px;
    height: 118px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 0 6px #e8f9fc;
}

.login-card-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-card-header h1 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 700;
    color: #0c3d56;
    letter-spacing: -0.02em;
}

.login-card-header p {
    margin: 0;
    font-size: 15px;
    color: #6b8796;
    line-height: 1.5;
}

.login-form {
    margin-bottom: 0;
}

.field-group {
    margin-bottom: 18px;
}

.field-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #0c3d56;
}

.login-field {
    position: relative;
}

.login-field i.field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8fa3b0;
    font-size: 15px;
    pointer-events: none;
}

.login-field input {
    width: 100%;
    height: 48px;
    padding: 0 44px 0 42px;
    border: 1px solid #d5dee4;
    border-radius: 8px;
    font-size: 14px;
    color: #0c3d56;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-field input::placeholder {
    color: #a8b8c2;
}

.login-field input:focus {
    outline: none;
    border-color: #1eb8c4;
    box-shadow: 0 0 0 3px rgba(30, 184, 196, 0.15);
}

.login-field .toggle-password {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #8fa3b0;
    cursor: pointer;
    font-size: 15px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-field .toggle-password:hover {
    color: #1eb8c4;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 22px;
    font-size: 14px;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    color: #5f7d8c;
    font-weight: 400;
}

.remember-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #1eb8c4;
    cursor: pointer;
}

.login-options a {
    color: #1eb8c4;
    text-decoration: none;
    font-weight: 500;
}

.login-options a:hover {
    text-decoration: underline;
}

.login-error {
    margin-top: 8px;
    font-size: 13px;
    color: #c0392b;
}

.btn-sign-in {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 8px;
    background: #d62839;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s;
}

.btn-sign-in:hover,
.btn-sign-in:focus {
    background: #b81f2f;
    color: #fff;
}

.btn-sign-in i {
    font-size: 14px;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 20px;
    color: #a8b8c2;
    font-size: 14px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e3e8ec;
}

.login-support-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #1eb8c4;
    text-decoration: none;
    margin-bottom: 24px;
}

.login-support-link:hover {
    text-decoration: underline;
}

.login-support-link i {
    font-size: 12px;
}

.login-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #e3e8ec;
    margin-bottom: 16px;
}

.login-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b8796;
    font-weight: 500;
}

.login-trust-row i {
    color: #1eb8c4;
    font-size: 14px;
}

.login-copyright {
    margin: 0;
    text-align: center;
    font-size: 12px;
    color: #a8b8c2;
}

@media (max-width: 991px) {
    .admin-login-form {
        padding: 24px 16px;
    }

    .login-card {
        padding: 28px 24px 24px;
    }
}

@media (max-width: 480px) {
    .login-card-header h1 {
        font-size: 26px;
    }

    .login-trust-row {
        gap: 10px;
    }
}

@media (min-width: 1400px) {
    .login-card {
        max-width: 440px;
    }
}
