/* =============================================
   Global typography — Inter
   ============================================= */
body, input, button, select, textarea, .form-control, .form-select,
.btn, .card, .table, .nav, .navbar, .modal, .badge, .dropdown-menu,
h1, h2, h3, h4, h5, h6, p, span, div, a, label, td, th, li {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.fw-semibold { font-weight: 600 !important; }
.fw-bold     { font-weight: 700 !important; }

/* Table typography */
.table th {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.table td {
    font-size: 0.85rem;
}


/* Glass style */
.glass {
    padding: 12px 18px;
    margin-bottom: 10px;
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;

    box-shadow: 0 8px 20px rgba(0,0,0,0.15);

    transition: all 0.4s ease;
}

/* Success */
.msg-success {
    background: rgba(40, 167, 69, 0.2);
    border-left: 4px solid #28a745;
}

/* Error */
.msg-error {
    background: rgba(220, 53, 69, 0.2);
    border-left: 4px solid #dc3545;
}

/* Warning */
.msg-warning {
    background: rgba(255, 193, 7, 0.2);
    border-left: 4px solid #ffc107;
}

/* Hide animation */
.msg.hide {
    opacity: 0;
    transform: translateX(100px);
}

/* Logo flush left */
.logo-topbar {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Card thin border */
.card {
    border: 1.5px solid rgba(9, 3, 3, 0.125) !important;
}

/* Profile avatar border */
.profile-avatar {
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--bs-primary, #3d6ce7), 0 2px 8px rgba(0,0,0,0.15);
    object-fit: cover;
    transition: box-shadow 0.2s ease;
}
.profile-avatar:hover {
    box-shadow: 0 0 0 3px var(--bs-primary, #3d6ce7), 0 4px 12px rgba(0,0,0,0.2);
}