/* ============================================================
   Linkhood Admin — Login Page Styles
   Location: domains/linkhood.co.in/domains/linkhood.co.in/public_html/admin/assets/css/login.css
   ============================================================ */

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

/* ── Reset & Base ────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.login-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    color: #2d3748;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1B5E5C 0%, #0d3534 40%, #1a3a5c 100%);
    background-attachment: fixed;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* ── Background Pattern ──────────────────────────────────────── */
body.login-body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(76,159,139,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(165,205,36,0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── Login Wrapper ───────────────────────────────────────────── */
.login-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

/* ── Login Card ──────────────────────────────────────────────── */
.login-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 44px 40px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.12);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Logo Area ───────────────────────────────────────────────── */
.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo img {
    max-height: 56px;
    object-fit: contain;
}

.login-logo h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1B5E5C;
    margin-top: 10px;
    margin-bottom: 2px;
}

.login-logo p {
    font-size: 0.85rem;
    color: #718096;
}

/* ── Form Labels ─────────────────────────────────────────────── */
.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 6px;
}

/* ── Input Group ─────────────────────────────────────────────── */
.input-group-text {
    background: #f7fafc;
    border-color: #e2e8f0;
    color: #718096;
    min-width: 44px;
    justify-content: center;
}

.form-control {
    border-color: #e2e8f0;
    background: #f7fafc;
    font-size: 0.95rem;
    padding: 10px 14px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-control:focus {
    border-color: #4C9F8B;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(76, 159, 139, 0.15);
}

.form-control-lg {
    font-size: 0.95rem;
    padding: 11px 14px;
}

.input-group .form-control:focus {
    z-index: 3;
}

/* ── Password Toggle Button ──────────────────────────────────── */
.input-group .btn-outline-secondary {
    border-color: #e2e8f0;
    color: #718096;
    background: #f7fafc;
    padding: 0 14px;
}

.input-group .btn-outline-secondary:hover {
    background: #edf2f7;
    color: #4a5568;
    border-color: #e2e8f0;
}

.input-group .btn-outline-secondary:focus {
    box-shadow: none;
    border-color: #4C9F8B;
}

/* ── Submit Button ───────────────────────────────────────────── */
.btn-primary {
    background: linear-gradient(135deg, #1B5E5C 0%, #4C9F8B 100%);
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 10px;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.2s;
}

.btn-primary:hover::after {
    background: rgba(255,255,255,0.1);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(27, 94, 92, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.65;
    transform: none;
    cursor: not-allowed;
}

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.alert-danger {
    background: #fff5f5;
    color: #c53030;
    border-left: 4px solid #fc8181;
}

.alert-warning {
    background: #fffbeb;
    color: #b7791f;
    border-left: 4px solid #f6e05e;
}

/* ── Footer ──────────────────────────────────────────────────── */
.login-footer {
    border-top: 1px solid #f0f4f8;
    padding-top: 16px;
    font-size: 0.8rem;
    color: #a0aec0;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 480px) {
    .login-card {
        padding: 32px 24px;
        border-radius: 16px;
    }
    .login-logo h4 {
        font-size: 1.3rem;
    }
}
