/* =============================================
   GLOBAL
   ============================================= */
html { font-size: 14px; }

.btn:focus, .btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* =============================================
   LOGIN PAGE
   ============================================= */
.om-login-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 20px;
}

.om-login-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px 32px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.om-login-logo {
    text-align: center;
    margin-bottom: 28px;
}

.om-login-logo .brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f3460;
    letter-spacing: -0.5px;
    display: block;
    margin-top: 8px;
}

.om-login-logo .brand-sub {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.om-login-logo i {
    font-size: 2.8rem;
    color: #0f3460;
}

.om-login-card h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.om-login-card .form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
}

.om-login-card .form-control {
    border-radius: 6px;
    border-color: #dde2e8;
    font-size: 0.9rem;
    padding: 8px 12px;
    height: auto;
}

.om-login-card .form-control:focus {
    border-color: #0f3460;
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.12);
}

.om-login-btn {
    background: linear-gradient(135deg, #0f3460, #1a5276);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
    margin-top: 8px;
}

.om-login-btn:hover { opacity: 0.9; }

.om-login-error {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.83rem;
    color: #c53030;
    margin-bottom: 16px;
}

/* =============================================
   PROFILE TABLE (Home/Index)
   ============================================= */
.profile-table th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-top: none;
    white-space: nowrap;
    padding: 8px 12px;
}

.profile-table td {
    font-size: 0.85rem;
    padding: 7px 12px;
    vertical-align: middle;
}

.profile-table td code {
    font-size: 0.78rem;
    color: #5a6a82;
    background: #f0f3f8;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.2px;
}

.profile-table tr:hover td {
    background-color: #f8faff;
}

.profile-table .row-num {
    font-size: 0.75rem;
    color: #adb5bd;
    width: 40px;
}

/* Filter bar */
.filter-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 16px;
}

.filter-bar .form-control-sm {
    border-radius: 4px;
    border-color: #dee2e6;
    font-size: 0.85rem;
}

/* =============================================
   PAGINATION
   ============================================= */
.page-link {
    font-size: 0.82rem;
    padding: 4px 9px;
    color: #0f3460;
    border-color: #dee2e6;
}

.page-item.active .page-link {
    background-color: #0f3460;
    border-color: #0f3460;
}

.page-item.disabled .page-link { color: #adb5bd; }

/* =============================================
   BULK SEARCH (iframe content)
   ============================================= */
.bs-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 6px;
}

.bs-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-right: 4px;
}

.bs-stat-total    { background: #e9ecef; color: #495057; }
.bs-stat-valid    { background: #cce5ff; color: #004085; }
.bs-stat-found    { background: #d4edda; color: #155724; }
.bs-stat-notfound { background: #fff3cd; color: #856404; }
.bs-stat-blank    { background: #f8d7da; color: #721c24; }

.bs-textarea {
    font-family: 'Courier New', Courier, monospace;
    font-size: 11.5px;
    line-height: 1.5;
    border-color: #dee2e6;
    resize: vertical;
}

.bs-result-area {
    font-family: 'Courier New', Courier, monospace;
    font-size: 11.5px;
    line-height: 1.5;
    background: #f8f9fa;
    border-color: #dee2e6;
    resize: vertical;
    color: #2d3748;
}

/* =============================================
   EDIT ACCOUNT
   ============================================= */
.account-card .card-header {
    background: linear-gradient(135deg, #0f3460, #1a5276);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.account-card .form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #6c757d;
    margin-bottom: 4px;
}

/* =============================================
   MODAL IFRAME
   ============================================= */
#bulkSearchModal .modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

#bulkSearchModal .modal-header {
    background: linear-gradient(135deg, #0f3460, #1a5276);
    color: #fff;
    border: none;
}

#bulkSearchModal .modal-header .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
}

#bulkSearchModal .modal-header .close:hover { opacity: 1; }
