/* Admin auth (login) styles — full extracted from previous inline CSS */
:root{
    --primary-color: #1791cf;
    --dark-bg: #194066;
}

body {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: backgroundScroll 20s linear infinite;
}

@keyframes backgroundScroll { 0% { transform: translate(0, 0); } 100% { transform: translate(50px, 50px); } }

.auth-bg { background: transparent; min-height: 100vh; display:flex; align-items:center; justify-content:center; width:100%; position:relative; z-index:1; }
.auth-card { background: white; border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,0.06); overflow:hidden; max-width:380px; width:100%; margin:8px; animation: fadeInUp 0.35s ease; }
@keyframes fadeInUp { from { opacity:0; transform:translateY(12px);} to { opacity:1; transform:translateY(0);} }

.auth-header { background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%); padding:18px 24px; text-align:center; color:white; position:relative; overflow:hidden; }
.auth-header::before { content: ''; position:absolute; top:0; left:-100%; width:100%; height:100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); animation: shimmer 3s infinite; }
@keyframes shimmer { 0% { left:-100%; } 100% { left:100%; } }

.auth-header h4 { font-size: 28px; font-weight: 700; margin: 0 0 10px 0; letter-spacing: -0.5px; position: relative; z-index: 1; }
.auth-header p { font-size: 14px; margin: 0; opacity: 0.95; position: relative; z-index: 1; }

.auth-body { padding: 14px 24px; }

.form-group { margin-bottom: 12px; }

.form-label { color: #1e293b; font-weight: 600; margin-bottom: 10px; display: block; font-size: 14px; }

.form-control { border: 2px solid #e2e8f0; border-radius: 8px; padding: 10px 12px; font-size: 14px; transition: all 0.18s ease; background-color: #fff; width: 100%; box-sizing: border-box; }

.form-control:focus { border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(23, 145, 207, 0.12); outline: none; transform: translateY(-2px); }

.form-check { margin-bottom: 20px; }

.form-check-input { margin-top: 4px; border: 2px solid #cbd5e1; cursor: pointer; width: 18px; height: 18px; border-radius: 4px; }
.form-check-input:checked { background-color: var(--primary-color); border-color: var(--primary-color); }

.form-check-label { margin-left: 10px; font-size: 14px; color: #475569; cursor: pointer; user-select: none; }

.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.mb-3 { margin-bottom: 24px; }

.d-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }

.btn { padding: 10px 14px; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.12s ease; text-decoration: none; display: inline-block; text-align: center; position: relative; overflow: hidden; }
.btn::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; }
.btn:hover::before { width: 300px; height: 300px; }

.btn-primary { background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%); color: white; width: 100%; box-shadow: 0 4px 15px rgba(23,145,207,0.18); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(23,145,207,0.26); }
.btn-primary:active { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(23,145,207,0.18); }

.text-muted { color: #64748b; }
.text-danger { color: #ef4444; }

.border-bottom { border-bottom: 1px solid #e2e8f0; }
.border-dashed { border-bottom-style: dashed; }
.fw-semibold { font-weight: 600; }
.fs-14 { font-size: 14px; }
.ms-1 { margin-left: 4px; }
.text-center { text-align: center; }
.mt-3 { margin-top: 20px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 15px; }

.auth-footer { text-align: center; margin-top: 12px; padding-top: 8px; border-top: 1px dashed #dee2e6; }
.auth-footer p { color: #6c757d; font-size: 12px; margin: 0; }

.text-reset { color: inherit; text-decoration: none; }
.text-decoration-none { text-decoration: none; }
.text-decoration-underline { text-decoration: underline; }

.link-primary { color: var(--primary-color); text-decoration: none; }
.link-primary:hover { color: var(--primary-color); text-decoration: underline; }

.invalid-feedback { display: block; color: #dc3545; font-size: 12px; margin-top: 4px; }
.is-invalid { border-color: #dc3545 !important; }

.text-white { color: white; }
.fs-12 { font-size: 12px; }
.w-100 { width: 100%; }
.m-3 { margin: 20px; }
.m-xxl-5 { margin: 40px; }
.px-xxl-4 { padding-left: 30px; padding-right: 30px; }
.g-0 { gap: 0; }
.col-xxl-3 { max-width: 25%; }
.col-lg-5 { max-width: 41.666667%; }
.col-md-6 { max-width: 50%; }
.row { display: flex; flex-wrap: wrap; width: 100%; }
.auth-brand { display: flex; justify-content: center; margin-bottom: 15px; }

@media (max-width: 1199px) { .m-xxl-5 { margin: 0; } }
@media (max-width: 991px) { .col-lg-5 { max-width: 100%; } }
@media (max-width: 767px) {
    .col-md-6 { max-width: 100%; }
    .col-xxl-3 { max-width: 100%; }
}

/* small utilities for auth layout */
.w-100 { width:100%; }
.mb-3 { margin-bottom: 16px; }

/* simple fade-in for card */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity:1; transform: translateY(0);} }

/* ensure mobile spacing */
@media (max-width: 576px) {
    .auth-card { margin: 10px; }
    .auth-header { padding: 30px 20px; }
    .auth-body { padding: 30px 20px; }
}

/* end of auth css */
