/* ===== Admin Login — Best Life Partner (invitation-card layout) ===== */

:root {
    --charcoal: #1B1A18;
    --brass: #A9812E;
    --brass-light: #C9A752;
    --paper: #F6F1E7;
    --ink: #2A2620;
    --plum: #5B2A3D;
}

* { box-sizing: border-box; }

.admin-login-wrapper {
    min-height: 100vh;
    width: 100%;
    background: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.login-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: var(--paper);
    border-radius: 6px;
    padding: 56px 36px 36px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}

/* Wax-seal stamp, half on / half off the top edge */
.login-seal {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--brass-light), var(--brass));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.login-seal svg { width: 46px; height: 46px; }
.seal-ring-outer { fill: none; stroke: var(--charcoal); stroke-width: 1.4; opacity: 0.55; }
.seal-ring-inner { fill: none; stroke: var(--charcoal); stroke-width: 0.8; opacity: 0.4; }
.seal-mono {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 600;
    fill: var(--charcoal);
    letter-spacing: 1px;
}

.login-header { text-align: center; margin-bottom: 30px; }

.login-headline {
    font-family: 'Fraunces', serif;
    font-optical-sizing: auto;
    font-size: 30px;
    font-weight: 500;
    color: var(--ink);
    margin: 0;
    line-height: 1.15;
}

.login-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0 8px;
}
.login-rule span {
    height: 1px;
    width: 46px;
    background: rgba(42, 38, 32, 0.3);
}
.login-rule i { color: var(--brass); font-size: 10px; }

.admin-tag {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brass);
}

.field-row { margin-bottom: 22px; }

.field-row label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 8px;
}

.field-row .form-control {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(42, 38, 32, 0.25);
    border-radius: 0;
    padding: 8px 2px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--ink);
}
.field-row .form-control::placeholder { color: rgba(42, 38, 32, 0.35); }
.field-row .form-control:focus {
    outline: none;
    border-bottom: 2px solid var(--brass);
    padding-bottom: 7px;
}

.row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 26px;
}

.icheck-primary { display: flex; align-items: center; gap: 8px; }
.icheck-primary input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    margin: 0;
    border: 1px solid rgba(42, 38, 32, 0.4);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}
.icheck-primary input[type="checkbox"]:checked {
    background: var(--brass);
    border-color: var(--brass);
}
.icheck-primary input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px; top: 1px;
    width: 4px; height: 8px;
    border: solid var(--paper);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.icheck-primary label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--ink);
    margin: 0;
    line-height: 1;
}

.forgot-link {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--plum);
    text-decoration: none;
    line-height: 1;
}
.forgot-link:hover { text-decoration: underline; }

.admin-login-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 4px;
    background: var(--ink);
    color: var(--brass-light);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s ease;
}
.admin-login-btn:hover { background: #000; }

.login-footer-note {
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    color: rgba(42, 38, 32, 0.5);
    text-align: center;
    margin-top: 24px;
}

@media (max-width: 480px) {
    .login-card { padding: 50px 24px 30px; }
    .login-headline { font-size: 26px; }
}