* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    min-height: 100%;
    background: #f5f8ff;
}

.app-loader {
    min-height: 240px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.9rem;
}

.app-loader p {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #4e5870;
}

.app-loader-spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid #d7dff5;
    border-top-color: #0b40ef;
    animation: appSpinner 0.8s linear infinite;
}

.app-loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.app-loader-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.app-loader-card {
    width: 180px;
    height: 130px;
    border-radius: 8px;
    border: 1px solid #dbe1ef;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(11, 64, 239, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes appSpinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   LANDING PAGE SPECIFIC STYLES
   ============================================ */

/* Header / Branding Section */
.header-section {
    padding: 2rem 0;
    background: transparent;
}

.header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .header-logo {
        height: 48px;
    }
}

.brand-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 32px;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .brand-text {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 20px;
    }
}

.brand-edu {
    color: #0b40ef;
}

.brand-link {
    color: #f0bb84;
}

/* Main Section */
.main-section {
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center; /* vertical center */
    align-items: flex-start; /* keep text left aligned */
    padding: 2rem 0;
}

/* Left Section */
.left-section {
    padding: 2rem 1rem !important;
}

@media (max-width: 992px) {
    .left-section {
        padding: 2rem 1rem !important;
        min-height: auto;
        margin-bottom: 2rem;
    }
}

.left-content {
    max-width: 500px;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .left-content {
        padding: 0 0.5rem;
    }
}

/* Main Heading */
.main-heading {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 64px;
    color: #0b40ef;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    text-align: center;

}

@media (max-width: 1200px) {
    .main-heading {
        font-size: 56px;
    }
}

@media (max-width: 992px) {
    .main-heading {
        font-size: 48px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .main-heading {
        font-size: 40px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 32px;
        margin-bottom: 1.5rem;
    }
}

/* Supporting Text */
.supporting-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .supporting-text {
        font-size: 15px;
        margin-bottom: 1.5rem;
    }
}

/* Sign In Button */
.sign-in-btn {
    background: linear-gradient(135deg, #0b40ef 0%, #0932c4 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1.3rem 2rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(11, 64, 239, 0.25);
    margin-bottom: 2rem;
}

.sign-in-btn:hover {
    background: linear-gradient(135deg, #0932c4 0%, #0820a3 100%);
    box-shadow: 0 6px 20px rgba(11, 64, 239, 0.35);
    color: white;
}

.sign-in-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(11, 64, 239, 0.25);
}

.btn-icon {
    height: 20px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .sign-in-btn {
        padding: 1.1rem 1.5rem;
        font-size: 13px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .sign-in-btn {
        padding: 1rem 1.25rem;
        font-size: 13px;
        margin-bottom: 1.25rem;
    }

    .btn-icon {
        height: 18px;
    }
}

/* Terms Text */
.terms-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 3.5rem;
}

@media (max-width: 768px) {
    .terms-text {
        font-size: 12px;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .terms-text {
        font-size: 12px;
        margin-bottom: 2rem;
    }
}

.terms-link {
    color: #0b40ef;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #0932c4;
    text-decoration: underline;
}

/* Notice Container */
.notice-container {
    background: white;
    border-radius: 8px;
    padding: 1.3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.notice-container:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.notice-icon {
    height: 45px;
    width: 36px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

.notice-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #333333;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

.notice-text strong {
    font-weight: 700;
    color: #000000;
}

@media (max-width: 768px) {
    .notice-container {
        padding: 1.1rem;
    }

    .notice-icon {
        height: 20px;
        width: 20px;
    }

    .notice-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .notice-container {
        padding: 1rem;
    }

    .notice-icon {
        height: 20px;
        width: 20px;
        margin-top: 2px;
    }

    .notice-text {
        font-size: 12px;
    }
}

/* Right Section */
.right-section {
    padding: 2rem 1rem !important;
}

@media (max-width: 992px) {
    .right-section {
        padding: 2rem 1rem !important;
        min-height: auto;
    }
}

.landing-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 600px;
}

@media (max-width: 992px) {
    .landing-image {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .landing-image {
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    .landing-image {
        max-height: 280px;
    }
}

/* ============================================
   SPLASH SCREEN STYLES
   ============================================ */

.splash-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
}

.splash-content {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container img {
    height: 300px;
    width: auto;
    object-fit: contain;
    animation: revealTopToBottom 1.5s ease-out forwards;
}

@keyframes revealTopToBottom {
    from {
        clip-path: inset(0 0 100% 0);
        opacity: 0;
    }
    to {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

/* ============================================
   LOGIN PAGE SPECIFIC STYLES
   ============================================ */

.login-body {
    background: linear-gradient(to left, #e0e7ff 0%, #ffffff 33%, #ffffff 100%);
}

.login-section {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

/* Left Section - Image */
.login-left-section {
    padding: 2rem 1rem !important;
}

@media (max-width: 992px) {
    .login-left-section {
        padding: 2rem 1rem !important;
        min-height: auto;
        margin-bottom: 2rem;
    }
}

.login-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 600px;
}

@media (max-width: 992px) {
    .login-image {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .login-image {
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    .login-image {
        max-height: 280px;
    }
}

/* Right Section - Form */
.login-right-section {
    padding: 2rem 1rem !important;
}

@media (max-width: 992px) {
    .login-right-section {
        padding: 2rem 1rem !important;
        min-height: auto;
    }
}

.login-form-container {
    max-width: 450px;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    .login-form-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .login-form-container {
        padding: 0 0.5rem;
    }
}

/* Login Heading */
.login-heading {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 64px;
    color: #0b40ef;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
}

@media (max-width: 1200px) {
    .login-heading {
        font-size: 56px;
    }
}

@media (max-width: 992px) {
    .login-heading {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .login-heading {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .login-heading {
        font-size: 32px;
    }
}

/* Login Subtitle */
.login-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .login-subtitle {
        font-size: 15px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .login-subtitle {
        font-size: 14px;
        margin-bottom: 1.5rem;
    }
}

/* Login Form */
.login-form {
    width: 100%;
}

/* Custom Input Group Wrapper */
.input-group-custom {
    position: relative;
    display: flex;
    align-items: center;
    height: 54px;
}

/* Input Field */
.input-field {
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    border: 2px solid #d0d0d0;
    border-radius: 15px;
    padding: 0 16px 0 48px;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.input-field:focus {
    border-color: #0b40ef;
    box-shadow: 0 0 0 3px rgba(11, 64, 239, 0.1);
}

.input-field.error {
    border-color: #d32f2f;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.input-field::placeholder {
    color: transparent;
}

/* Input Icon - Left Side */
.input-icon {
    position: absolute;
    left: 16px;
    height: 20px;
    width: 20px;
    object-fit: contain;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

/* Input Label - Shows beside icon, hides on focus or input */
.input-label {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #999999;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
    opacity: 1;
}

/* Hide label when input is focused */
.input-field:focus ~ .input-label {
    opacity: 0;
}

/* Hide label when input has a value */
.input-field:not(:placeholder-shown) ~ .input-label {
    opacity: 0;
}

/* Password Eye Toggle */
.password-eye-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #999999;
    font-size: 18px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    line-height: 1;
}

.password-eye-toggle:focus {
    outline: none;
}

.input-group-custom:has(.input-field:focus) .password-eye-toggle {
    color: #0b40ef;
}

/* Adjust padding for password field with eye toggle */
.input-group-custom:has(.password-eye-toggle) .input-field {
    padding: 0 48px 0 48px;
}

/* Forgot Password Link */
.forgot-password-link {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #0b40ef;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #0932c4;
    text-decoration: underline;
}

.plain-action-link {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0b40ef;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.plain-action-link:hover {
    color: #0932c4;
    text-decoration: underline;
}

.auth-status {
    min-height: 20px;
    margin: -0.25rem 0 1rem 0;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #5f6777;
    text-align: center;
}

.auth-status.success {
    color: #1a7f37;
}

.auth-status.error {
    color: #d32f2f;
}

/* Confirm Button */
.confirm-btn {
    background-color: #b7b7bd;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1.2rem 2rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: not-allowed;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.confirm-btn:not(:disabled) {
    background-color: #0b40ef;
    cursor: pointer;
}

.confirm-btn:not(:disabled):hover {
    background: linear-gradient(135deg, #0932c4 0%, #0820a3 100%);
    box-shadow: 0 6px 20px rgba(11, 64, 239, 0.35);
}

.confirm-btn:not(:disabled):active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(11, 64, 239, 0.25);
}

.confirm-btn:disabled {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .confirm-btn {
        padding: 1rem 1.5rem;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .confirm-btn {
        padding: 0.9rem 1.25rem;
        font-size: 13px;
    }
}

/* ============================================
   DASHBOARD PAGE SPECIFIC STYLES
   ============================================ */

.dashboard-body {
    background-color: #f5f8ff;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ===========================
   SIDEBAR STYLES
   =========================== */

.sidebar {
    width: 230px;
    background: #dfe7ff;
    padding: 0;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: width 0.3s ease;
}

/* Desktop: Mini-sidebar (collapsed) state */
.sidebar.collapsed {
    width: 70px;
}

/* Mobile/Tablet: Drawer overlay behavior */
@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 230px;
        z-index: 1000;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar.collapsed {
        width: 230px;
        transform: translateX(-100%);
    }
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    min-height: 80px;
}

/* Desktop only: Center sidebar header when collapsed */
@media (min-width: 993px) {
    .sidebar.collapsed .sidebar-header {
        justify-content: center;
        padding: 1rem 0.75rem;
        min-height: 80px;
    }
}

.sidebar-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    overflow: hidden;
    transition: flex 0.3s ease;
}

/* Desktop only: Release space when collapsed */
@media (min-width: 993px) {
    .sidebar.collapsed .sidebar-header-content {
        flex: 0;
        min-width: 0;
    }
}

.sidebar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    flex-shrink: 0;
}

/* Desktop only: Hide logo but preserve space */
@media (min-width: 993px) {
    .sidebar.collapsed .sidebar-logo {
        visibility: hidden;
        width: 0;
        height: 0;
        overflow: hidden;
    }
}

.sidebar-brand {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    white-space: nowrap;
}

/* Desktop only: Hide brand but preserve space */
@media (min-width: 993px) {
    .sidebar.collapsed .sidebar-brand {
        visibility: hidden;
        width: 0;
        overflow: hidden;
    }
}

/* Hamburger button in sidebar header - controlled by Bootstrap classes (d-none d-lg-flex) */
.sidebar-header .hamburger-btn {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

/* Desktop only: Align hamburger with nav icons when collapsed */
@media (min-width: 993px) {
    .sidebar.collapsed .hamburger-btn {
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #666;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    background-color: #f9f9f9;
    color: #0b40ef;
    padding-left: 2rem;
}

.nav-item.active .nav-link {
    background-color: #f0f4ff;
    color: #0b40ef;
    padding-left: 2rem;
}

.nav-item.active .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #0b40ef;
}

.nav-link i {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.nav-link span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.3s ease;
}

/* Desktop collapsed state: hide text, center icon */
.sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 0.75rem 0.5rem;
}

.sidebar.collapsed .nav-link span {
    display: none;
}

.sidebar.collapsed .nav-link:hover,
.sidebar.collapsed .nav-item.active .nav-link {
    padding: 0.75rem 0.5rem;
    background-color: transparent;
}

.sidebar.collapsed .nav-item.active .nav-link::before {
    display: none;
}



.sidebar.collapsed .nav-link:hover,
.sidebar.collapsed .nav-item.active .nav-link {
    padding: 0.75rem 0.5rem;
    margin-top: 20px;
}

.sidebar.collapsed .nav-item.active .nav-link::before {
    display: none;
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: transparent;
    border: none;
    color: #666;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background-color: #f9f9f9;
    color: #0b40ef;
}

.logout-btn i {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.logout-btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.3s ease;
}

/* Desktop collapsed state: hide text, center icon */
.sidebar.collapsed .logout-btn {
    justify-content: center;
    padding: 0.75rem 0.5rem;
}

.sidebar.collapsed .logout-btn span {
    display: none;
}

/* ===========================
   SIDEBAR OVERLAY (Mobile)
   =========================== */

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Only show overlay on mobile/tablet */
@media (max-width: 992px) {
    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Hide overlay on desktop */
@media (min-width: 993px) {
    .sidebar-overlay {
        display: none;
    }
}

/* ===========================
   MAIN WRAPPER & CONTENT
   =========================== */

.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-left: 0;
    transition: flex-basis 0.3s ease;
}

/* ===========================
   TOPBAR STYLES
   =========================== */

.topbar {
    background: white;
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hamburger-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hamburger-btn:hover {
    color: #0b40ef;
}

/* Hamburger button styling for both mobile (topbar) and desktop (sidebar) */

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-title i {
    font-size: 24px;
    color: #0b40ef;
}

.dashboard-title-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.dashboard-title h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.notification-btn {
    background: white;
    border: none;
    font-size: 20px;
    color: #0b40ef;
    cursor: pointer;
    margin-left: 40px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(11, 64, 239, 0.15);
    flex-shrink: 0;
}

.notification-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(11, 64, 239, 0.25);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f0f0f0;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-name {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.user-role {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #999;
}

/* ===========================
   DASHBOARD CONTENT
   =========================== */

.dashboard-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background: #f5f8ff;
}

/* Greeting Section */
.greeting-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.greeting-emoji {
    font-size: 48px;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
        transform-origin: 70% 70%;
    }
    25% {
        transform: rotate(14deg);
        transform-origin: 70% 70%;
    }
    50% {
        transform: rotate(-8deg);
        transform-origin: 70% 70%;
    }
    75% {
        transform: rotate(14deg);
        transform-origin: 70% 70%;
    }
}

.greeting-text h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.25rem 0;
}

.greeting-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    color: #999;
    margin: 0;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.stat-card-blue {
    background: linear-gradient(135deg, #0b40ef 0%, #0932c4 100%);
}

.stat-card-orange {
    background: linear-gradient(135deg, #f0bb84 0%, #f5a844 100%);
}

.stat-card-purple {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
}

.stat-card-blue-light {
    background: linear-gradient(135deg, #a8c5ff 0%, #7cb3ff 100%);
}

.stat-top-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.stat-icon img {
    width: 48x;
    height: 48px;
    object-fit: contain;
}

.stat-label {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.stat-divider {
    width: 100%;
    height: 1px;
    background: white;
}

.stat-value {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: white;
    text-align: center;
}

/* Content Section */
.content-section {
    margin-bottom: 2rem;
}

.content-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.content-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #0b40ef;
    margin: 0;
}

.view-all-link {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #0b40ef;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: #0932c4;
    text-decoration: underline;
}

.card-body {
    padding: 1.5rem;
    min-height: 200px;
}

.reports-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.report-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.report-item-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}

.report-item-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.report-item-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.report-violation {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 1.4;
    word-break: break-word;
}

.report-violation strong {
    font-weight: 700;
}

.report-item-right {
    flex-shrink: 0;
    margin-left: 1rem;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #b7b7bd;
    white-space: nowrap;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.post-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.post-item-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}

.post-item-profile {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
}



.post-item-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-item-text {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 1.4;
    word-break: break-word;
}

.post-item-text strong {
    font-weight: 700;
}

.post-item-right {
    flex-shrink: 0;
    margin-left: 1rem;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #b7b7bd;
    white-space: nowrap;
}

.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

/* Charts Section */
.charts-section {
    margin-top: 2rem;
}

.chart-container {
    min-height: 300px;
    position: relative;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.chart-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    border-radius: 4px;
    color: #999;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 992px) {
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .topbar {
        padding: 1rem;
    }

    .dashboard-title h1 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {

    .topbar-left {
        gap: 1rem;
    }

    .dashboard-title h1 {
        font-size: 18px;
    }

    .topbar-right {
        gap: 1rem;
    }

    .user-info {
        display: none;
    }

    .dashboard-content {
        padding: 1rem;
    }

    .greeting-section {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .greeting-emoji {
        font-size: 36px;
    }

    .greeting-text h2 {
        font-size: 18px;
    }

    .stats-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .content-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card-body {
        min-height: 150px;
    }

    .chart-container {
        min-height: 250px;
    }

    .sidebar-nav {
        padding: 0.5rem 0;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 13px;
    }

    .nav-link:hover,
    .nav-item.active .nav-link {
        padding-left: 1.5rem;
    }

    .sidebar-header {
        padding: 1rem;
    }

    .sidebar-footer {
        padding: 0.75rem 1rem;
    }

    .logout-btn {
        padding: 0.5rem 0.75rem;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .topbar {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .topbar-left {
        gap: 0.5rem;
    }

    .topbar-right {
        gap: 0.75rem;
    }

    .dashboard-title {
        gap: 0.5rem;
    }

    .dashboard-title h1 {
        font-size: 16px;
    }

    .dashboard-title i {
        font-size: 18px;
    }

    .notification-btn {
        font-size: 18px;
        margin-left: 0px;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
    }

    .greeting-text h2 {
        font-size: 16px;
    }

    .greeting-text p {
        font-size: 12px;
    }

    .greeting-emoji {
        font-size: 32px;
    }

    .stat-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .stat-icon {
        font-size: 24px;
        width: 40px;
        height: 40px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-value {
        font-size: 24px;
    }

    .card-header {
        padding: 1rem;
    }

    .card-header h3 {
        font-size: 14px;
    }

    .card-body {
        padding: 1rem;
    }
}

    /* ============================================
       RESET PASSWORD PAGE SPECIFIC STYLES
       ============================================ */

    .reset-password-body {
        background: linear-gradient(to right, #e0e7ff 0%, #ffffff 50%, #ffffff 100%);
        min-height: 100vh;
    }

    .reset-password-page {
        min-height: 100vh;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem 1rem;
    }

    .reset-password-card {
        width: 100%;
        max-width: 560px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .reset-password-image {
        width: 100%;
        max-width: 360px;
        height: auto;
        object-fit: contain;
        margin-bottom: 1.5rem;
    }

    .reset-password-title {
        font-family: 'Roboto', sans-serif;
        font-weight: 600;
        font-size: 64px;
        color: #0b40ef;
        line-height: 1.2;
        margin: 0 0 1rem 0;
    }

    .reset-password-subtitle {
        font-family: 'Roboto', sans-serif;
        font-weight: 500;
        font-size: 16px;
        color: #000000;
        line-height: 1.6;
        margin: 0 0 2rem 0;
        max-width: 500px;
    }

    .reset-password-form {
        width: 100%;
        max-width: 460px;
    }

    .reset-password-input {
        padding-left: 16px;
    }

    .reset-password-label {
        left: 16px;
    }

    .password-hint {
        margin: 0 0 1rem 0;
        text-align: left;
        font-family: 'Roboto', sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.6;
        color: #8a8f9b;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: translateY(-4px);
        transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.2s ease;
    }

    .password-hint strong {
        font-weight: 700;
    }

    .password-hint.active {
        opacity: 1;
        max-height: 120px;
        transform: translateY(0);
    }

    .password-hint.shake {
        animation: hintShake 0.4s ease;
    }

    @keyframes hintShake {
        0%,
        100% {
            transform: translateX(0);
        }
        20% {
            transform: translateX(-6px);
        }
        40% {
            transform: translateX(6px);
        }
        60% {
            transform: translateX(-4px);
        }
        80% {
            transform: translateX(4px);
        }
    }

    @media (max-width: 992px) {
        .reset-password-title {
            font-size: 48px;
        }
    }

    @media (max-width: 768px) {
        .reset-password-title {
            font-size: 40px;
        }

        .reset-password-subtitle {
            font-size: 15px;
        }

        .reset-password-image {
            max-width: 300px;
        }
    }

    @media (max-width: 480px) {
        .reset-password-title {
            font-size: 32px;
        }

        .reset-password-subtitle {
            font-size: 14px;
        }

        .reset-password-image {
            max-width: 250px;
        }
    }

/* ============================================
   USER MANAGEMENT PAGE SPECIFIC STYLES
   ============================================ */

.user-management-wrapper {
    background: #f5f8ff;
}

.user-management-topbar {
    border-bottom: 1px solid #e7ecf7;
}

.user-management-content {
    background: #f5f8ff;
    padding: 1.35rem;
}

.user-management-panel {
    border-radius: 6px;
    padding: 0;
}

.user-management-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-management-tabs {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #c9ced8;
    border-radius: 4px;
    overflow: hidden;
}

.um-tab {
    border: none;
    background: #ffffff;
    padding: 0.65rem 1.3rem;
    font-family: 'Roboto', sans-serif;
    font-size: 21px;
    font-weight: 500;
    color: #6e6e6e;
    border-right: 1px solid #d5dae3;
    transition: all 0.2s ease;
}

.um-tab:last-child {
    border-right: none;
}

.um-tab.active {
    color: #0b40ef;
    background: #f6f8ff;
    box-shadow: inset 0 -3px 0 #0b40ef;
}

.user-management-search {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    justify-content: flex-end;
}

.um-search-input-wrap {
    max-width: 480px;
    width: 100%;
    height: 42px;
    background: #ffffff;
    border: 1px solid #cfd5df;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0 0.95rem;
    box-shadow: 0 3px 10px rgba(11, 64, 239, 0.04);
}

.um-search-input-wrap i {
    font-size: 12px;
    color: #7c869d;
}

.um-search-input-wrap input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #444b58;
}

.um-search-btn {
    min-width: 108px;
    height: 42px;
    border: none;
    border-radius: 4px;
    background: linear-gradient(135deg, #0b40ef 0%, #184de8 100%);
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(11, 64, 239, 0.16);
}

.user-table-card {
    background: #ffffff;
    border: 1px solid #d5d9e3;
    border-radius: 4px;
    overflow: hidden;
    min-height: 560px;
}

.user-table-wrap {
    overflow-x: auto;
    overflow-y: auto;
    min-height: 750px;
    max-height: 750px;
}

.user-management-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
    table-layout: fixed;
}

.user-management-table thead th {
    background: #8eacf0;
    color: #1b2d57;
    text-align: left;
    padding: 0.95rem 2.15rem;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.user-management-table tbody td {
    padding: 1rem 2.15rem;
    border-bottom: none;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #2c3444;
    vertical-align: middle;
}

.user-management-table tbody tr:last-child td {
    border-bottom: none;
}

.user-management-table tbody tr.um-clickable-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.user-management-table tbody tr.um-clickable-row:hover td,
.user-management-table tbody tr.um-clickable-row:focus-within td {
    background: #dfe7ff;
}

.report-management-table tbody tr.rm-clickable-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.report-management-table tbody tr.rm-clickable-row:hover td,
.report-management-table tbody tr.rm-clickable-row:focus-within td {
    background: #dfe7ff;
}

.um-user-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.um-user-cell img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    background: #eef2fa;
}

.user-management-table tbody td:nth-child(2) {
    color: #1f335f;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.um-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 0.32rem 0.68rem;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

.status-active {
    background: #138f2d;
}

.status-blocked {
    background: #ff1f17;
}

.status-suspended {
    background: #8d8d8d;
}

.user-management-pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 0 0;
    justify-content: flex-start;
}

.um-create-account-btn {
    margin-left: auto;
    min-width: 136px;
    height: 36px;
    padding: 0 1rem;
    border: 1px solid #6ad1ff;
    border-radius: 6px;
    background: linear-gradient(135deg, #0b40ef 0%, #184de8 100%);
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.05;
    cursor: default;
}

@media (max-width: 768px) {
    .user-management-pagination {
        flex-wrap: wrap;
    }

    .um-create-account-btn {
        margin-left: 0;
        min-width: 100%;
        font-size: 14px;
    }
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #cdd2dc;
    border-radius: 6px;
    background: #ffffff;
    color: #6f7a91;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(.disabled) {
    background: #f0f2f7;
    border-color: #95b2ee;
    color: #0b40ef;
}

.pagination-btn.active {
    background: #d6e3ff;
    color: #0b40ef;
    border-color: #95b2ee;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.um-page-label {
    margin-right: 0.35rem;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #2c3444;
}

.um-page-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #cdd2dc;
    border-radius: 6px;
    background: #ffffff;
    color: #6f7a91;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.um-page-btn.active {
    background: #d6e3ff;
    color: #0b40ef;
    border-color: #95b2ee;
}

.report-management-panel {
    padding: 1.5rem 1.5rem 0;
}

.report-management-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.report-management-tabs {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d5d9e3;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    flex-wrap: wrap;
}

.rm-tab {
    border: none;
    border-right: 1px solid #d5d9e3;
    background: #ffffff;
    color: #6b7280;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 0.85rem 1.15rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rm-tab:last-child {
    border-right: none;
}

.rm-tab.active {
    color: #0b40ef;
    background: #f7f9ff;
    box-shadow: inset 0 -2px 0 #0b40ef;
}

.rm-tab-count {
    color: inherit;
}

.report-management-search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: min(100%, 440px);
}

.rm-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid #d7dce7;
    border-radius: 8px;
    background: #ffffff;
    padding: 0 0.95rem;
    min-height: 44px;
}

.rm-search-input-wrap i {
    color: #8a93a6;
    font-size: 14px;
}

.rm-search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #1f2937;
}

.rm-search-btn {
    min-width: 102px;
    min-height: 44px;
    padding: 0 1.25rem;
    border: none;
    border-radius: 8px;
    background: #0b40ef;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rm-search-btn:hover {
    background: #0932c4;
}

.report-table-card {
    background: #ffffff;
    border: 1px solid #d5d9e3;
    border-radius: 8px;
    overflow: hidden;
    min-height: 560px;
}

.report-table-wrap {
    overflow-x: auto;
    min-height: 520px;
}

.report-management-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.report-management-table thead th {
    background: #8eacf0;
    color: #1b2d57;
    text-align: left;
    padding: 1rem 1.75rem;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.report-management-table tbody td {
    padding: 0.95rem 1.75rem;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #1f2937;
    vertical-align: middle;
}

.report-management-table tbody tr:hover td {
    background: #f7f9ff;
}

.rm-report-id {
    color: #2d3748;
    white-space: nowrap;
}

.rm-person-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.rm-person-cell img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #eef2fa;
    flex-shrink: 0;
}

.rm-person-cell span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rm-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

.rm-status-pending {
    background: #f5b458;
}

.rm-status-resolved {
    background: #138f2d;
}

.rm-status-cancelled {
    background: #ff1717;
}

.rm-status-dismissed {
    background: #767676;
}

.report-management-pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 0 0;
}

.rm-page-label {
    margin-right: 0.35rem;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #2c3444;
}

.user-details-topbar {
    margin-bottom: 1.1rem;
}

.ud-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: none;
    background: #184de8;
    color: #ffffff;
    height: 36px;
    padding: 0 1rem;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.user-details-card {
    background: #ffffff;
    border: 1px solid #d8dde8;
    border-radius: 6px;
    padding: 1.55rem 1.6rem 1.3rem;
}

.ud-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.ud-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ud-profile img {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    background: #edf1f8;
}

.ud-profile-copy h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 42px;
    line-height: 1.12;
    color: #121821;
    margin-bottom: 0.45rem;
}

.ud-account-status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #272e3d;
}

.ud-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 24px;
    border-radius: 4px;
    padding: 0 0.6rem;
    font-size: 12px;
    color: #ffffff;
}

.ud-status-pill.ud-status-active {
    background: #0d7b1f;
}

.ud-status-pill.ud-status-blocked {
    background: #ff1d17;
}

.ud-status-pill.ud-status-suspended {
    background: #8d8d8d;
}

.ud-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.ud-action-btn {
    border: none;
    border-radius: 5px;
    height: 36px;
    min-width: 94px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.ud-action-btn.warn {
    background: #f6b500;
}

.ud-action-btn.block {
    background: #ff1d17;
}

.ud-action-btn.unblock {
    background: #0d7b1f;
}

.ud-action-btn.suspend {
    background: #efae61;
}

.ud-action-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.ud-content-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1rem;
    align-items: stretch;
}

.ud-left-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ud-panel {
    border: 1px solid #9ea4af;
    border-radius: 5px;
    background: #ffffff;
}

.ud-info-panel {
    padding: 1rem 0.9rem 1.05rem;
}

.ud-panel h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 31px;
    color: #141920;
    margin-bottom: 0.9rem;
}

.ud-info-list {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.ud-info-list div {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 0.45rem;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #2a3344;
}

.ud-info-list dt {
    color: #272f3f;
}

.ud-info-list dd {
    color: #4b5468;
}

.ud-contacts {
    border-top: 1px solid #d8dce4;
    padding-top: 0.95rem;
}

.ud-contacts h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    color: #161d29;
    margin-bottom: 0.7rem;
}

.ud-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #2a3344;
}

.ud-contact-row i {
    margin-top: 0.16rem;
    font-size: 14px;
}

.ud-contact-row span {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    margin-bottom: 0.1rem;
}

.ud-contact-row p {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #5a6478;
}

.ud-ratings-panel {
    padding: 1rem 0.9rem 0.95rem;
}

.ud-rating-summary {
    display: grid;
    gap: 0.6rem;
}

.ud-average-wrap {
    display: flex;
    align-items: center;
    gap: 0.42rem;
}

.ud-avg-label {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    color: #1f2632;
}

.ud-average-wrap strong {
    font-family: 'Roboto', sans-serif;
    font-size: 40px;
    color: #0e1117;
    line-height: 1;
}

.ud-stars {
    color: #f2d500;
    letter-spacing: 1px;
    font-size: 20px;
}

.ud-rating-bars {
    display: grid;
    gap: 0.35rem;
}

.ud-bar-row {
    display: grid;
    grid-template-columns: 34px 1fr 16px;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #202837;
}

.ud-bar-row div {
    height: 9px;
    border-radius: 999px;
    background: #e2e3e7;
    overflow: hidden;
}

.ud-bar-row em {
    display: block;
    height: 100%;
    background: #f2d500;
}

.ud-bar-row b {
    font-weight: 600;
    text-align: right;
    color: #5b6373;
}

.ud-history-panel {
    padding: 0;
    min-height: 540px;
}

.ud-history-tabs {
    display: inline-flex;
    margin: 0.8rem 0.8rem 0;
    border: 1px solid #cfd4de;
    border-radius: 4px;
    overflow: hidden;
}

.ud-tab {
    border: none;
    border-right: 1px solid #d5d9e3;
    background: #f8fafc;
    color: #737b8e;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 0.7rem 1.35rem;
}

.ud-tab:last-child {
    border-right: none;
}

.ud-tab.active {
    background: #174ae6;
    color: #ffffff;
}

.ud-table-wrap {
    margin-top: 0.75rem;
    overflow-x: auto;
}

.ud-history-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.ud-history-table thead th {
    text-align: left;
    background: #8aa8ea;
    color: #101827;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 0.85rem 1.2rem;
}

.ud-history-table tbody td {
    padding: 0.85rem 1.2rem;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #1e2737;
    border-bottom: 0;
}

.ud-row-placeholder td {
    visibility: hidden;
    pointer-events: none;
    border-bottom: 0;
}

.ud-completed {
    color: #0f8b27;
}

.ud-cancelled {
    color: #ff1717;
}

.ud-upcoming {
    color: #1448ff;
}

.ud-report-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1.2rem;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.15;
    white-space: nowrap;
}

.ud-report-status-pending {
    background: #f59e0b;
}

.ud-report-status-resolved {
    background: #0f8b27;
}

.ud-report-status-cancelled {
    background: #ff1717;
}

.ud-report-status-dismissed {
    background: #767676;
}

@media (max-width: 1200px) {
    .ud-profile-copy h2 {
        font-size: 32px;
    }

    .ud-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    

    .user-details-card {
        padding: 1rem;
    }

    .ud-header {
        flex-direction: column;
    }

    .ud-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .ud-action-btn {
        flex: 1;
        min-width: 110px;
    }

    .ud-profile-copy h2 {
        font-size: 26px;
    }

    .ud-info-list div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
}

@media (max-width: 992px) {
    .user-management-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .user-management-search {
        width: 100%;
        justify-content: stretch;
    }

    .um-search-btn {
        min-width: 96px;
    }

    .um-tab {
        font-size: 15px;
        padding: 0.6rem 0.95rem;
    }

    .report-management-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .report-management-search {
        width: 100%;
    }

    .report-management-table thead th,
    .report-management-table tbody td {
        font-size: 13px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .user-management-table thead th,
    .user-management-table tbody td {
        font-size: 13px;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 768px) {
    .user-management-content {
        padding-top: 1rem;
    }

    .report-management-panel {
        padding: 1rem 1rem 0;
    }

    .report-management-tabs {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .rm-tab {
        text-align: left;
        border-right: none;
        border-bottom: 1px solid #d5d9e3;
    }

    .rm-tab:last-child {
        border-bottom: none;
    }

    .report-management-search {
        flex-direction: column;
    }

    .rm-search-input-wrap,
    .rm-search-btn {
        max-width: none;
        width: 100%;
    }

    .report-management-pagination {
        flex-wrap: wrap;
    }

    .user-management-tabs {
        width: 100%;
        overflow-x: auto;
    }

    .um-tab {
        white-space: nowrap;
        flex: 1 0 auto;
    }

    .user-management-search {
        flex-direction: column;
    }

    .um-search-input-wrap,
    .um-search-btn {
        max-width: none;
        width: 100%;
    }
}

.report-details-topbar {
    margin-bottom: 1.1rem;
}

.rd-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: none;
    background: #184de8;
    color: #ffffff;
    height: 36px;
    padding: 0 1rem;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.report-details-shell-card {
    background: #ffffff;
    border: 1px solid #d8dde8;
    border-radius: 6px;
    padding: 1.4rem 1.5rem;
}

.report-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 1.5rem;
    align-items: start;
}

.report-details-left-col {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.rd-panel {
    border: 1px solid #9ea4af;
    border-radius: 5px;
    background: #ffffff;
    padding: 0.95rem 1rem 1rem;
}

.rd-panel-header {
    padding-bottom: 0.95rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid #e1e5ee;
}

.rd-panel-header h2,
.rd-panel-header h3,
.rd-actions-panel h3 {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #141920;
}

.rd-report-id-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #1f2632;
}

.rd-users-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.rd-user-block {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.rd-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: #edf1f8;
}

.rd-user-copy {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    flex-wrap: wrap;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #202838;
}

.rd-user-copy span {
    color: #2f3747;
}

.rd-user-copy strong {
    font-weight: 700;
}

.rd-meta-list {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.rd-meta-list div {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #1f2632;
}

.rd-meta-list dt,
.rd-description-block span {
    font-weight: 500;
}

.rd-meta-list dd {
    margin: 0;
    font-weight: 700;
    color: #141920;
}

.rd-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    padding: 0.28rem 0.75rem;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

.rd-status-pending {
    background: #f59e0b;
}

.rd-status-resolved {
    background: #0f8b27;
}

.rd-status-cancelled {
    background: #ff1717;
}

.rd-status-dismissed {
    background: #767676;
}

.rd-description-block {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #1f2632;
}

.rd-description-block p {
    margin: 0.35rem 0 0;
    color: #2e3644;
    line-height: 1.5;
}

.rd-actions-panel {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.rd-actions-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.rd-action-btn,
.rd-suspension-select {
    width: 100%;
    min-height: 36px;
    border: 1px solid #767676;
    border-radius: 4px;
    background: #ffffff;
    color: #767676;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
}

.rd-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.85rem;
    font-weight: 500;
}

.rd-action-btn i {
    width: 16px;
    color: inherit;
}

.rd-action-icon-image {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex: 0 0 16px;
    color: inherit;
}

.rd-action-btn.is-selected {
    box-shadow: none;
}

.rd-action-btn.is-selected[data-action-value="uphold-penalty"] {
    background: #fbc8c8;
    border-color: #d60000;
    color: #d60000;
}

.rd-action-btn.is-selected[data-action-value="reduce-penalty"] {
    background: #f8eada;
    border-color: #f4ad5e;
    color: #f4ad5e;
}

.rd-action-btn.is-selected[data-action-value="remove-penalty"] {
    background: #c8dcc9;
    border-color: #046707;
    color: #046707;
}

.rd-action-btn.is-selected[data-action-value="dismiss-penalty"] {
    background: #dfdfdf;
    border-color: #767676;
    color: #767676;
}

.rd-action-btn.is-selected[data-action-value="warning"],
.rd-action-btn.is-selected[data-action-value="temporary-suspension"] {
    background: #faedc7;
    border-color: #ffbb00;
    color: #ffbb00;
}

.rd-action-btn.is-selected[data-action-value="permanent-block"] {
    background: #fac7c7;
    border-color: #ff0000;
    color: #ff0000;
}

.rd-action-btn.is-selected[data-action-value="dismiss-report"] {
    background: #dfdfdf;
    border-color: #767676;
    color: #767676;
}

.rd-action-btn-delete {
    border-color: #8d3dff;
    color: #8d3dff;
    background: #f5ecff;
}

.rd-action-btn-delete i {
    color: #8d3dff;
}

.rd-action-btn-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.rd-suspension-row {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.rd-reduce-row .rd-action-btn-with-select {
    min-height: 36px;
}

.rd-suspension-select {
    padding: 0 0.75rem;
}

.rd-suspension-select:enabled {
    background: #ffffff;
    border-color: #767676;
    color: #767676;
}

.rd-submit-btn {
    width: 100%;
    min-height: 42px;
    border: none;
    border-radius: 4px;
    background: #184de8;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.rd-outline-btn {
    width: 100%;
    min-height: 42px;
    border: 1px solid #184de8;
    border-radius: 4px;
    background: #ffffff;
    color: #184de8;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.rd-note-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #eceef4;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    padding: 0.8rem 0.95rem;
}

.rd-note-card i {
    color: #d2a000;
    font-size: 20px;
}

.rd-note-card p {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    line-height: 1.35;
    color: #2b3445;
}

.rd-details-skeleton {
    padding: 1.25rem 1.5rem 0;
}

.rd-details-skeleton[hidden] {
    display: none;
}

.rd-details-skeleton-topbar {
    height: 38px;
    width: 220px;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.rd-details-skeleton-card {
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    background: #ffffff;
    padding: 1rem;
}

.rd-details-skeleton-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 0.95rem;
}

.rd-details-skeleton-left,
.rd-details-skeleton-right {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.rd-details-skeleton-block {
    border: 1px solid #e7edf6;
    border-radius: 8px;
    background: #ffffff;
    padding: 0.9rem;
    display: grid;
    gap: 0.65rem;
}

.rd-details-skeleton-block .skel-shimmer {
    height: 14px;
    border-radius: 4px;
}

.rd-details-skeleton-lg .skel-shimmer:nth-child(1) { width: 35%; height: 16px; }
.rd-details-skeleton-lg .skel-shimmer:nth-child(2) { width: 25%; }
.rd-details-skeleton-lg .skel-shimmer:nth-child(3) { width: 88%; }
.rd-details-skeleton-lg .skel-shimmer:nth-child(4) { width: 94%; }
.rd-details-skeleton-lg .skel-shimmer:nth-child(5) { width: 72%; }

.rd-details-skeleton-sm .skel-shimmer:nth-child(1) { width: 34%; height: 16px; }
.rd-details-skeleton-sm .skel-shimmer:nth-child(2) { width: 90%; }

.rd-details-skeleton-right .skel-shimmer:nth-child(1) { width: 52%; height: 16px; }
.rd-details-skeleton-right .skel-shimmer:nth-child(2) { width: 100%; }
.rd-details-skeleton-right .skel-shimmer:nth-child(3) { width: 100%; }
.rd-details-skeleton-right .skel-shimmer:nth-child(4) { width: 100%; }
.rd-details-skeleton-right .skel-shimmer:nth-child(5) { width: 90%; }

@media (max-width: 992px) {
    .rd-details-skeleton {
        padding: 1rem 1rem 0;
    }

    .rd-details-skeleton-grid {
        grid-template-columns: 1fr;
    }
}

.rd-attachment-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.rd-attachment-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 40px;
    gap: 0.85rem;
    align-items: center;
}

.rd-attachment-media img {
    width: 72px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    background: #edf1f8;
}

.rd-attachment-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    font-family: 'Roboto', sans-serif;
}

.rd-attachment-copy strong {
    font-size: 14px;
    color: #1a2230;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rd-attachment-copy span {
    font-size: 12px;
    color: #6a7385;
}

.rd-attachment-download {
    width: 32px;
    height: 32px;
    border: 1px solid #9ea4af;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1d2432;
    text-decoration: none;
}

.rd-error-state {
    margin-top: 1rem;
}

.rd-users-row-single {
    grid-template-columns: 1fr;
}

.rd-user-copy-stacked {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.rd-user-copy-stacked div {
    display: flex;
    gap: 0.3rem;
    align-items: baseline;
    flex-wrap: wrap;
}

.rd-meta-grid {
    margin: 0;
}

.rd-meta-grid-two-col {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 2rem;
    row-gap: 0.95rem;
}

.rd-meta-grid-two-col div {
    display: contents;
}

.rd-meta-grid-two-col dt,
.rd-meta-grid-two-col dd {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    margin: 0;
    color: #1f2632;
}

.rd-meta-grid-two-col dt {
    font-weight: 500;
}

.rd-meta-grid-two-col dd {
    font-weight: 700;
    color: #141920;
}

.ud-post-row {
    cursor: pointer;
}
.ud-post-row:hover td,
.ud-post-row:focus td {
    background: #f1f5ff;
}
.ud-post-row:focus {
    outline: 2px solid #184de8;
    outline-offset: -2px;
}
.ud-post-delete-cell {
    width: 56px;
    text-align: right;
}
.ud-post-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    border-radius: 6px;
    padding: 0;
    cursor: pointer;
}
.ud-post-delete-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.ud-post-delete-btn:hover,
.ud-post-delete-btn:focus-visible {
    background: rgba(229, 57, 53, 0.12);
}
.ud-post-delete-confirm-modal {
    position: fixed;
    inset: 0;
    background: rgba(13, 22, 44, 0.52);
    backdrop-filter: blur(4px);
    display: grid;
    place-items: center;
    z-index: 1400;
    padding: 1rem;
}
.ud-post-delete-confirm-card {
    width: min(92vw, 420px);
    background: #ffffff;
    border: 1px solid #d7deea;
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
    padding: 1.65rem 1.35rem 1.25rem;
    text-align: center;
    position: relative;
}
.ud-post-delete-confirm-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0;
    background: transparent;
    color: #6b7280;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}
.ud-post-delete-confirm-close:hover,
.ud-post-delete-confirm-close:focus-visible {
    background: #eef2f7;
    color: #111827;
}
.ud-post-delete-confirm-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 0.65rem;
}
.ud-post-delete-confirm-card h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}
.ud-post-delete-confirm-message {
    margin: 0.75rem 0 1.15rem;
    font-size: 14px;
    color: #374151;
    line-height: 1.45;
}
.ud-post-delete-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}
.ud-post-delete-confirm-cancel,
.ud-post-delete-confirm-submit {
    min-height: 38px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid #cfd8e6;
}
.ud-post-delete-confirm-cancel {
    background: #ffffff;
    color: #174ae6;
    border-color: #174ae6;
}
.ud-post-delete-confirm-submit {
    background: #174ae6;
    color: #ffffff;
    border-color: #174ae6;
}
.ud-post-delete-confirm-submit:hover,
.ud-post-delete-confirm-submit:focus-visible {
    background: #174ae6;
    border-color: #174ae6;
}
.ud-status-confirm-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.5);
    backdrop-filter: blur(3px);
    z-index: 10010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ud-status-confirm-modal[hidden] {
    display: none;
}

.ud-status-confirm-card {
    width: min(620px, 96vw);
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 56px rgba(17, 24, 39, 0.24);
    padding: 1.8rem 2rem 2rem;
    position: relative;
    text-align: center;
}

.ud-status-confirm-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 0;
    background: transparent;
    color: #1f46e0;
    font-size: 1.9rem;
    cursor: pointer;
}

.ud-status-confirm-icon {
    width: 76px;
    height: 76px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1rem;
}

.ud-status-confirm-card h3 {
    margin: 0 0 0.8rem;
    color: #111827;
    font-size: 24px;
    font-weight: 700;
}

.ud-status-confirm-message {
    margin: 0 0 1.55rem;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.ud-status-confirm-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: left;
    margin: 0 auto 1.35rem;
}

.ud-status-confirm-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background: #d9e3ef;
    flex: 0 0 auto;
}

.ud-status-confirm-profile-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ud-status-confirm-profile-copy strong {
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.ud-status-confirm-profile-copy span {
    color: #111827;
    font-size: 14px;
    line-height: 1.3;
}

.ud-status-confirm-divider {
    width: 100%;
    border-top: 1px solid #d1d5db;
}

.ud-status-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 2.6rem;
    padding-top: 1.9rem;
}

.ud-status-confirm-cancel,
.ud-status-confirm-submit {
    min-width: 156px;
    min-height: 58px;
    border-radius: 18px;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
}

.ud-status-confirm-cancel {
    border: 2px solid #2753ff;
    background: #ffffff;
    color: #2753ff;
}

.ud-status-confirm-submit {
    border: 2px solid #1f46e0;
    background: #1f46e0;
    color: #ffffff;
}
.ud-report-row {
    cursor: pointer;
}
.ud-report-row:hover td,
.ud-report-row:focus td {
    background: #f7faff;
}
.ud-report-row:focus {
    outline: 2px solid #184de8;
    outline-offset: -2px;
}
.ud-appeal-row {
    cursor: pointer;
}
.ud-appeal-row:hover td,
.ud-appeal-row:focus td {
    background: #f7faff;
}
.ud-appeal-row:focus {
    outline: 2px solid #184de8;
    outline-offset: -2px;
}
.ud-post-preview-modal {
    position: fixed;
    inset: 0;
    background: rgba(13, 22, 44, 0.52);
    backdrop-filter: blur(4px);
    display: grid;
    place-items: center;
    z-index: 1200;
    padding: 1.2rem;
}
.ud-post-preview-dialog {
    background: #ffffff;
    border: 1px solid #222;
    border-radius: 10px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    padding: 3.4rem 3.1rem 2.35rem;
}

.ud-post-inner-box {
    border: 1px solid #8f97a7;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
}

.ud-post-preview-header {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.45rem 1rem;
    border-bottom: 1px solid #d7dbe3;
}

.ud-post-preview-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}
.ud-post-preview-close {
    background: none;
    border: none;
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 32px;
    color: #1f4de0;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.ud-post-preview-close:hover {
    color: #143ec2;
}

.ud-post-preview-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.55rem;
    max-width: 560px;
    margin: 0 auto;
    padding: 1.2rem 1.45rem 1.35rem;
}

.ud-post-preview-user-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ud-post-preview-user-row img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #cfd7e4;
    background: #dce6ef;
}

.ud-post-preview-user-copy {
    min-width: 0;
}

.ud-post-preview-user-copy h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    line-height: 1.05;
}

.ud-post-preview-location {
    margin: 0.25rem 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    line-height: 1.1;
}

.ud-post-preview-datetime {
    margin: 0.22rem 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    line-height: 1.1;
}

.ud-post-preview-meta-grid {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
    column-gap: 1.6rem;
    row-gap: 0.8rem;
}

.ud-post-preview-meta-grid div { display: contents; }

.ud-post-preview-meta-grid dt,
.ud-post-preview-meta-grid dd {
    margin: 0;
    font-size: 14px;
    color: #111827;
}

.ud-post-preview-meta-grid dt {
    font-weight: 500;
    white-space: nowrap;
    text-align: left;
}

.ud-post-preview-meta-grid dd {
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.ud-report-preview-modal {
    position: fixed;
    inset: 0;
    background: rgba(13, 22, 44, 0.52);
    backdrop-filter: blur(4px);
    display: grid;
    place-items: center;
    z-index: 1210;
    padding: 1.2rem;
}

.ud-report-preview-dialog {
    background: #ffffff;
    border: 1px solid #222;
    border-radius: 10px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    padding: 3.4rem 3.1rem 2.35rem;
}

.ud-report-inner-box {
    border: 1px solid #8f97a7;
    border-radius: 8px;
    overflow: hidden;
}

.ud-report-preview-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.45rem 1.7rem 1.15rem;
    border-bottom: 1px solid #d7dbe3;
}

.ud-report-preview-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.ud-report-preview-close {
    background: none;
    border: none;
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 32px;
    color: #1f4de0;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ud-report-preview-close:hover {
    color: #143ec2;
}

.ud-report-preview-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    padding: 1.55rem 1.7rem 1.6rem;
}

.ud-report-section-block {
    width: 100%;
    max-width: 540px;
}

.ud-report-section-title {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    text-align: left;
}

.ud-report-section-content {
    margin-top: 0.8rem;
    padding-left: 2rem;
}

.ud-report-preview-meta-list {
    margin: 0;
    width: 100%;
    max-width: none;
    display: grid;
    gap: 0.8rem;
}

.ud-report-preview-meta-list div {
    display: grid;
    grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
    align-items: baseline;
    column-gap: 1.6rem;
}

.ud-report-preview-meta-list dt,
.ud-report-preview-meta-list dd {
    margin: 0;
    font-size: 14px;
    color: #111827;
}

.ud-report-preview-meta-list dt {
    font-weight: 500;
    white-space: nowrap;
    text-align: left;
}

.ud-report-preview-meta-list dd {
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.ud-report-preview-description {
    width: 100%;
}

.ud-report-preview-description p {
    margin: 0;
    font-size: 14px;
    color: #111827;
    line-height: 1.45;
    white-space: pre-wrap;
    text-align: left;
}

.ud-report-preview-attachments {
    width: 100%;
}

.ud-report-preview-attachments-list {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 1rem 0.45rem;
    scroll-behavior: smooth;
    border: 1px solid #c7ced9;
    background: #ffffff;
    min-height: 110px;
    align-items: center;
}

.ud-report-preview-attachments-list.has-multiple {
    justify-content: flex-start;
}

.ud-report-preview-attachments-list::-webkit-scrollbar {
    height: 8px;
}

.ud-report-preview-attachments-list::-webkit-scrollbar-thumb {
    background: #c5cedc;
    border-radius: 999px;
}

.ud-report-preview-attachments-list::-webkit-scrollbar-track {
    background: #eef2f7;
    border-radius: 999px;
}

.ud-report-preview-attachments-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
    min-width: 168px;
    flex: 0 0 168px;
}

.ud-report-preview-attachments-box:hover {
    transform: translateY(-1px);
}

.ud-report-preview-attachments-box.is-disabled {
    cursor: default;
    opacity: 0.6;
    pointer-events: none;
}

.ud-report-preview-attachment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0;
}

.ud-report-preview-attachment-item img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 0;
    border: 0;
    background: transparent;
}

.ud-report-preview-attachment-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 168px;
}

.ud-report-preview-attachment-copy strong {
    font-size: 14px;
    color: #111827;
    width: 100%;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

.ud-report-preview-attachment-copy small {
    font-size: 12px;
    color: #6b7280;
    width: 100%;
    line-height: 1.2;
}

.ud-report-preview-download {
    display: none;
}

.ud-report-preview-attachments-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 13px;
    width: 100%;
    min-height: 72px;
}

.ud-report-preview-dialog .ud-report-status {
    margin-left: auto;
    min-width: 118px;
    border-radius: 10px;
    padding: 0.72rem 0.95rem;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.ud-report-preview-dialog .ud-report-status-pending {
    background: #eda84f;
}

.ud-report-preview-dialog .ud-report-status-resolved {
    background: #1f9d4e;
}

.ud-report-preview-dialog .ud-report-status-dismissed,
.ud-report-preview-dialog .ud-report-status-cancelled {
    background: #d94c47;
}

.ud-appeal-preview-modal {
    position: fixed;
    inset: 0;
    background: rgba(13, 22, 44, 0.52);
    backdrop-filter: blur(4px);
    display: grid;
    place-items: center;
    z-index: 1220;
    padding: 1.2rem;
}

.ud-appeal-preview-dialog {
    background: #ffffff;
    border: 1px solid #222;
    border-radius: 10px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    padding: 3.4rem 3.1rem 2.35rem;
}

.ud-appeal-inner-box {
    border: 1px solid #8f97a7;
    border-radius: 8px;
    overflow: hidden;
}

.ud-appeal-preview-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.45rem 1.7rem 1.15rem;
    border-bottom: 1px solid #d7dbe3;
}

.ud-appeal-preview-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.ud-appeal-preview-dialog .ud-report-status {
    margin-left: auto;
    min-width: 118px;
    border-radius: 10px;
    padding: 0.72rem 0.95rem;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.ud-appeal-preview-dialog .ud-report-status-pending {
    background: #eda84f;
}

.ud-appeal-preview-dialog .ud-report-status-resolved {
    background: #1f9d4e;
}

.ud-appeal-preview-dialog .ud-report-status-dismissed,
.ud-appeal-preview-dialog .ud-report-status-cancelled {
    background: #d94c47;
}

.ud-appeal-preview-close {
    background: none;
    border: none;
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 32px;
    color: #1f4de0;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ud-appeal-preview-close:hover {
    color: #143ec2;
}

.ud-appeal-preview-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    padding: 1.55rem 1.7rem 1.6rem;
}

.ud-appeal-preview-meta-list {
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.ud-appeal-preview-meta-list div {
    display: grid;
    grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
    align-items: baseline;
    column-gap: 1.6rem;
}

.ud-appeal-preview-meta-list dt,
.ud-appeal-preview-meta-list dd {
    margin: 0;
    font-size: 14px;
    color: #111827;
}

.ud-appeal-preview-meta-list dt {
    font-weight: 500;
    white-space: nowrap;
    text-align: left;
}

.ud-appeal-preview-meta-list dd {
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.ud-appeal-preview-description {
    width: 100%;
}

.ud-appeal-preview-description p {
    margin: 0;
    font-size: 14px;
    color: #111827;
    line-height: 1.45;
    white-space: pre-wrap;
    text-align: left;
}

.ud-appeal-preview-attachments {
    width: 100%;
}

.ud-appeal-preview-attachments-list {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 1rem 0.45rem;
    scroll-behavior: smooth;
    border: 1px solid #c7ced9;
    background: #ffffff;
    min-height: 110px;
    align-items: center;
}

.ud-appeal-preview-attachments-list.has-multiple {
    justify-content: flex-start;
}

.ud-appeal-preview-attachments-list::-webkit-scrollbar {
    height: 8px;
}

.ud-appeal-preview-attachments-list::-webkit-scrollbar-thumb {
    background: #c5cedc;
    border-radius: 999px;
}

.ud-appeal-preview-attachments-list::-webkit-scrollbar-track {
    background: #eef2f7;
    border-radius: 999px;
}

.ud-appeal-preview-attachments-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
    min-width: 168px;
    flex: 0 0 168px;
}

.ud-appeal-preview-attachments-box:hover {
    transform: translateY(-1px);
}

.ud-appeal-preview-attachments-box.is-disabled {
    cursor: default;
    opacity: 0.6;
    pointer-events: none;
}

.ud-appeal-preview-attachment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0;
}

.ud-appeal-preview-attachment-item img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 0;
    border: 0;
    background: transparent;
}

.ud-appeal-preview-attachment-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 168px;
}

.ud-appeal-preview-attachment-copy strong {
    font-size: 14px;
    color: #111827;
    width: 100%;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

.ud-appeal-preview-attachment-copy small {
    font-size: 12px;
    color: #6b7280;
    width: 100%;
    line-height: 1.2;
}

.ud-appeal-preview-download {
    display: none;
}

.ud-appeal-preview-attachments-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 13px;
    width: 100%;
    min-height: 72px;
}

body.ud-modal-open {
    overflow: hidden;
}
@media (max-width: 768px) {
    .ud-post-preview-dialog {
        max-width: 94vw;
        padding: 3.2rem 1.1rem 1.15rem;
    }

    .ud-post-preview-header {
        padding: 1rem 1rem 0.8rem;
    }

    .ud-post-preview-body {
        gap: 1.2rem;
        padding: 0.95rem 1rem 1rem;
    }

    .ud-post-preview-user-row img {
        width: 64px;
        height: 64px;
    }

    .ud-post-preview-user-copy h4 {
        font-size: 16px;
    }

    .ud-post-preview-location,
    .ud-post-preview-datetime {
        font-size: 14px;
    }

    .ud-post-preview-meta-grid {
        grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
        column-gap: 1rem;
        row-gap: 0.7rem;
    }

    .ud-post-preview-meta-grid dt,
    .ud-post-preview-meta-grid dd {
        font-size: 14px;
    }

    .ud-report-preview-dialog {
        max-width: 94vw;
        padding: 3.2rem 1.1rem 1.15rem;
    }

    .ud-report-preview-header {
        padding: 1rem 1rem 0.85rem;
    }

    .ud-report-preview-header h3 {
        font-size: 16px;
    }

    .ud-report-preview-body {
        padding: 1rem;
        gap: 1.4rem;
    }

    .ud-report-section-block {
        max-width: 100%;
    }

    .ud-report-section-content {
        padding-left: 1rem;
    }

    .ud-report-preview-meta-list div {
        grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
        column-gap: 1rem;
    }

    .ud-report-preview-attachment-item {
        flex-direction: column;
        align-items: center;
    }

    .ud-report-preview-meta-list dt,
    .ud-report-preview-meta-list dd,
    .ud-report-preview-description p {
        font-size: 14px;
    }

    .ud-appeal-preview-dialog {
        max-width: 94vw;
        padding: 3.2rem 1.1rem 1.15rem;
    }

    .ud-appeal-preview-header {
        padding: 1rem 1rem 0.85rem;
    }

    .ud-appeal-preview-header h3 {
        font-size: 16px;
    }

    .ud-appeal-preview-body {
        padding: 1rem;
        gap: 1.4rem;
    }

    .ud-appeal-preview-meta-list dt,
    .ud-appeal-preview-meta-list dd,
    .ud-appeal-preview-description p {
        font-size: 14px;
    }

    .ud-appeal-preview-meta-list div {
        grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
        column-gap: 1rem;
    }

    .ud-appeal-preview-attachment-item {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 1200px) {
    .report-details-layout {
        grid-template-columns: 1fr;
    }
}

/* User Details Loading Skeleton */
.ud-skeleton {
    border: 1px solid #d8dde8;
    border-radius: 6px;
    background: #ffffff;
    padding: 1.55rem 1.6rem 1.3rem;
}

.ud-skeleton[hidden] {
    display: none;
}

.ud-skeleton-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.ud-skeleton-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #e7ebf3;
    flex-shrink: 0;
}

.ud-skeleton-profile-copy {
    width: min(420px, 100%);
}

.ud-skeleton-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1rem;
}

.ud-skeleton-panel {
    border: 1px solid #9ea4af;
    border-radius: 5px;
    background: #ffffff;
    padding: 1rem 0.9rem 1.05rem;
}

.ud-skeleton-line {
    height: 12px;
    border-radius: 6px;
    background: #e7ebf3;
    margin-bottom: 0.65rem;
}

.ud-skeleton-line.lg {
    height: 28px;
    width: 62%;
}

.ud-skeleton-line.md {
    height: 18px;
    width: 44%;
}

.ud-skeleton-line.sm {
    width: 100%;
}

.ud-skeleton-tabs {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.95rem;
}

.ud-skeleton-tab {
    height: 34px;
    width: 120px;
    border-radius: 4px;
    background: #e7ebf3;
}

.ud-shimmer {
    background: linear-gradient(90deg, #e7ebf3 25%, #f4f7fb 37%, #e7ebf3 63%);
    background-size: 400% 100%;
    animation: udSkeletonShimmer 1.3s ease-in-out infinite;
}

@keyframes udSkeletonShimmer {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

@media (max-width: 768px) {
    .report-details-shell-card {
        padding: 1rem;
    }

    .rd-users-row {
        grid-template-columns: 1fr;
    }

    .rd-panel-header h2,
    .rd-panel-header h3,
    .rd-actions-panel h3 {
        font-size: 22px;
    }

    .rd-meta-grid-two-col {
        grid-template-columns: 1fr;
        row-gap: 0.35rem;
    }

    .rd-meta-grid-two-col div {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.15rem;
        margin-bottom: 0.5rem;
    }

    .rd-attachment-item {
        grid-template-columns: 1fr;
    }

    .rd-attachment-media img {
        width: 100%;
        max-width: 160px;
    }

    .ud-skeleton {
        padding: 1rem;
    }

    .ud-skeleton-grid {
        grid-template-columns: 1fr;
    }

    .ud-skeleton-tab {
        width: 88px;
    }
}



/* Session Schedule Modal Styles */
.ud-session-schedule-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}
.ud-session-schedule-modal[hidden] { display: none; }
.ud-session-schedule-dialog {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    max-width: 700px;
    width: 95vw;
    max-height: 85vh;
    overflow-y: auto;
}
.ud-session-schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e5eaf2;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}
.ud-session-schedule-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #121827;
}
.ud-session-schedule-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    transition: color 0.2s ease;
}
.ud-session-schedule-close:hover { color: #121827; }
.ud-session-schedule-body { padding: 1.5rem; }
.ud-session-schedule-header-info { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e5eaf2; }
.ud-schedule-info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ud-schedule-info-cols div p { margin: 0 0 0.75rem 0; font-size: 15px; color: #4a5568; }
.ud-schedule-info-cols div p strong { color: #121827; font-weight: 700; }
.ud-session-schedule-users { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e5eaf2; }
.ud-schedule-user-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ud-schedule-user-item img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; background: #dce7ee; border: 2px solid #c8d3e2; margin-bottom: 0.75rem; }
.ud-schedule-user-item p { margin: 0; font-size: 15px; color: #666; }
.ud-schedule-user-item p strong { color: #121827; font-weight: 700; display: block; margin-bottom: 0.25rem; }
.ud-session-schedule-payment { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e5eaf2; }
.ud-session-schedule-payment h4 { margin: 0 0 1rem 0; font-size: 16px; font-weight: 700; color: #121827; }
.ud-payment-preview { display: flex; align-items: flex-start; gap: 1rem; }
.ud-payment-preview img { width: 120px; height: 80px; border-radius: 6px; object-fit: cover; background: #f0f4fa; border: 1px solid #e5eaf2; }
.ud-session-schedule-sessions { margin-top: 1.5rem; }
.ud-session-schedule-sessions h4 { margin: 0 0 1rem 0; font-size: 16px; font-weight: 700; color: #121827; }
.ud-schedule-sessions-list { display: flex; flex-direction: column; gap: 0.75rem; }
.ud-schedule-session-item { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-radius: 8px; background: #f8f9fc; border: 1px solid #e5eaf2; transition: all 0.2s ease; }
.ud-schedule-session-item.highlighted { background: #e8f0ff; border-color: #0066ff; box-shadow: 0 0 0 3px rgba(0,102,255,0.1); }
.ud-schedule-session-item .session-date-time { margin: 0; font-size: 14px; color: #4a5568; font-weight: 500; }
.ud-mini-badge { display: inline-block; padding: 0.35rem 0.75rem; border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ud-mini-badge.ud-status-active { background: #d4edda; color: #155724; }
.ud-mini-badge.ud-status-pending { background: #ffeaa7; color: #d63031; }

/* ------------------------------------------------------------------ */
/* Session Details Modal Styles */
/* ------------------------------------------------------------------ */

.ud-session-details-modal {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.34);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 1.25rem;
}

.ud-session-details-modal[hidden] {
    display: none;
}

.ud-session-details-dialog {
    background: #ffffff;
    border: 1px solid #222;
    border-radius: 10px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    padding: 3.9rem 3.7rem 3.45rem;
}

.ud-session-inner-box {
    border: 1px solid #8f97a7;
    border-radius: 8px;
    overflow: hidden;
}

.ud-session-details-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.45rem 1.7rem 1.15rem;
    border-bottom: 1px solid #d7dbe3;
}

.ud-session-details-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.ud-session-status-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    border-radius: 10px;
    padding: 0.72rem 0.95rem;
    background: #eda84f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.ud-session-status-badge.ud-completed {
    background: #1f9d4e;
}

.ud-session-status-badge.ud-cancelled {
    background: #d94c47;
}

.ud-session-details-close {
    background: none;
    border: none;
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 32px;
    color: #1f4de0;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ud-session-details-close:hover {
    color: #143ec2;
}

.ud-session-details-body {
    display: flex;
    gap: 2.2rem;
    padding: 1.45rem 1.7rem 1.5rem;
}

.ud-session-people-grid {
    flex: 0 0 330px;
    display: flex;
    flex-direction: column;
    gap: 1.45rem;
}

.ud-session-person {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ud-session-person img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #cfd7e4;
    background: #dce6ef;
}

.ud-session-person p {
    margin: 0;
    font-size: 14px;
    color: #111827;
}

.ud-session-person strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.15;
}

.ud-session-details-meta-list {
    flex: 1 1 auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.ud-session-details-meta-list div {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.ud-session-details-meta-list dt {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
}

.ud-session-details-meta-list dd {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.ud-session-details-payment {
    margin-top: 1.1rem;
    border: 1px solid #8f97a7;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
}

.ud-session-details-payment h4 {
    margin: 0;
    padding: 0.9rem 1rem;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    border-bottom: 1px solid #d7dbe3;
}

.ud-payment-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem 1rem;
}

.ud-payment-preview img {
    width: 118px;
    height: 82px;
    border-radius: 6px;
    object-fit: cover;
    background: #f0f4fa;
    border: 1px solid #d4d8df;
}

.ud-payment-preview img.is-clickable {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ud-payment-preview img.is-clickable:hover,
.ud-payment-preview img.is-clickable:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(31, 77, 224, 0.18);
    outline: none;
}

.ud-session-no-payment {
    padding: 0.9rem 1rem 1rem;
    background: #f8f9fc;
    text-align: center;
}

.ud-session-no-payment p {
    margin: 0;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

@media (max-width: 640px) {
    .ud-session-details-dialog {
        max-width: 95vw;
        padding: 1.9rem 1.7rem 1.45rem;
    }

    .ud-session-details-close {
        right: 6px;
        top: 4px;
        font-size: 34px;
    }

    .ud-session-details-header h3 {
        font-size: 18px;
    }

    .ud-session-status-badge {
        font-size: 12px;
        min-width: 86px;
        padding: 0.72rem 0.95rem;
    }

    .ud-session-details-body {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1rem;
    }

    .ud-session-people-grid {
        flex: 1 1 auto;
    }

    .ud-session-details-meta-list dt {
        font-size: 16px;
    }

    .ud-session-details-meta-list dd {
        font-size: 18px;
    }

    .ud-session-details-payment {
        margin-top: 1rem;
    }

    .ud-payment-preview {
        flex-direction: column;
        align-items: center;
    }
}

/* ─── Report Decision: Already Resolved Alert ───────────────────────────────── */
.rd-alert {
	padding: 1rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	border-left: 4px solid;
	font-size: 0.95rem;
	line-height: 1.5;
}

.rd-alert-warning {
	background-color: #fff8e1;
	border-left-color: #fbc02d;
	color: #856404;
}

/* ────────────────────────────────────────────────────────────────── */
/* User Management Loading Skeleton                                    */
/* ────────────────────────────────────────────────────────────────── */

.skel-shimmer {
    background: linear-gradient(90deg, #e7ebf3 25%, #f4f7fb 37%, #e7ebf3 63%);
    background-size: 400% 100%;
    animation: udSkeletonShimmer 1.3s ease-in-out infinite;
    border-radius: 6px;
}

.um-skeleton {
    padding: 0;
}

.um-skeleton[hidden] {
    display: none;
}

.um-skeleton-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #e8edf5;
    flex-wrap: wrap;
}

.um-skeleton-tabs {
    display: flex;
    gap: 0.5rem;
}

.um-skel-tab {
    height: 34px;
    width: 80px;
    border-radius: 6px;
}

.um-skel-search {
    height: 38px;
    width: 260px;
    border-radius: 8px;
}

.um-skeleton-card {
    background: white;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    border: 1px solid #e8edf5;
    border-top: none;
}

.um-skeleton-thead {
    display: grid;
    grid-template-columns: 35% 40% 13% 12%;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background: #f8fafc;
    border-bottom: 1px solid #e8edf5;
}

.um-skeleton-thead div {
    height: 14px;
    border-radius: 4px;
}

.um-skeleton-rows {
    padding: 0.5rem 0;
}

.um-skel-row {
    display: grid;
    grid-template-columns: 35% 40% 13% 12%;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f2f5fb;
}

.um-skel-row:last-child {
    border-bottom: none;
}

.um-skel-avatar {
    height: 36px;
    width: 80%;
    border-radius: 6px;
}

.um-skel-col {
    height: 14px;
    border-radius: 4px;
}

.um-skel-col:nth-child(3) { width: 70%; }
.um-skel-col:nth-child(4) { width: 60%; }

@media (max-width: 640px) {
    .um-skel-search {
        width: 100%;
    }

    .um-skeleton-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .um-skeleton-thead,
    .um-skel-row {
        grid-template-columns: 50% 1fr 1fr;
    }

    .um-skeleton-thead div:nth-child(4),
    .um-skel-row .um-skel-col:nth-child(4) {
        display: none;
    }
}

/* --- Report Decision: Toast Notifications -------------------------------- */
.rd-toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    max-width: 360px;
}
.rd-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.rd-toast-success { background: #1a8c4e; }
.rd-toast-error   { background: #c0392b; }
.rd-toast-info    { background: #2563eb; }

/* --- Report Decision: Disabled action buttons after submit --------------- */
.rd-action-btn:disabled {
    background: #eeeeee;
    border-color: #b7b7bd;
    color: #b7b7bd;
    cursor: not-allowed;
    pointer-events: none;
}
.rd-submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #6b7280;
}
.rd-suspension-select:disabled {
    background: #eeeeee;
    border-color: #b7b7bd;
    color: #b7b7bd;
    cursor: not-allowed;
}

/* --- Report Decision: Confirmation Modal --------------------------------- */
.rd-modal-open {
    overflow: hidden;
}

.rd-confirm-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.5);
    backdrop-filter: blur(2px);
    z-index: 10010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.rd-confirm-modal[hidden] {
    display: none;
}

.rd-confirm-card {
    width: min(560px, 96vw);
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 56px rgba(17, 24, 39, 0.24);
    padding: 1.25rem 1.25rem 1.1rem;
    text-align: center;
    position: relative;
}

.rd-confirm-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 1.1rem;
    cursor: pointer;
}

.rd-confirm-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: 0.15rem auto 0.55rem;
    display: block;
}

.rd-confirm-card h3 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
    color: #111827;
}

.rd-confirm-message {
    margin: 0.65rem 0 1.2rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #111827;
}

.rd-confirm-action-line {
    margin: 0;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1.05rem;
    color: #111827;
}

.rd-confirm-action-line span {
    color: #4b5563;
}

.rd-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.1rem;
}

.rd-confirm-cancel,
.rd-confirm-submit {
    min-width: 138px;
    border-radius: 16px;
    padding: 0.75rem 1rem;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
}

.rd-confirm-cancel {
    border: 2px solid #2753ff;
    color: #2753ff;
    background: #fff;
}

.rd-confirm-submit {
    border: 2px solid #1f46e0;
    color: #fff;
    background: #1f46e0;
}

/* ─── Create Account Modal ─────────────────────────────────────────────────── */
.ca-modal {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.34);
    display: grid;
    place-items: center;
    z-index: 1500;
    padding: 1.25rem;
}
.ca-modal[hidden] { display: none; }

.ca-card {
    width: min(94vw, 520px);
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.16);
    padding: 1.85rem 1.45rem 1.4rem;
    position: relative;
    max-height: 92vh;
    overflow-y: auto;
}

.ca-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #1d4ed8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.ca-close-btn:hover,
.ca-close-btn:focus-visible {
    background: #ffffff;
    color: #1e40af;
}

.ca-title {
    margin: 0 0 1.85rem;
    font-size: 34px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.ca-section-label {
    margin: 0 0 0.7rem;
    font-size: 24px;
    font-weight: 600;
    color: #111827;
}
.ca-section-label--role { margin-top: 1.45rem; }

/* Input fields */
.ca-field {
    display: flex;
    align-items: center;
    border: 1.4px solid #c6cad3;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1);
    padding: 0 0.95rem;
    margin-bottom: 0.55rem;
    min-height: 52px;
    transition: border-color 0.15s, background 0.15s;
}
.ca-field:focus-within {
    border-color: #0b40ef;
    border-width: 1.6px;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(11, 64, 239, 0.12);
}

.ca-field:focus-within .ca-field-icon {
    color: #0b40ef;
}

.ca-field:focus-within .ca-eye-btn,
.ca-field:focus-within .ca-eye-btn i {
    color: #0b40ef;
}

.ca-field.ca-field-invalid {
    border-color: #f93a3a;
    border-width: 1.6px;
    box-shadow: 0 0 0 2px rgba(249, 58, 58, 0.12);
}

.ca-field.ca-field-invalid .ca-field-icon {
    color: #f93a3a;
}

.ca-field-icon {
    color: #9aa0aa;
    font-size: 13px;
    flex-shrink: 0;
    margin-right: 0.6rem;
    width: 16px;
    text-align: center;
}

.ca-input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 16px;
    color: #1f2937;
    padding: 0.8rem 0;
    min-width: 0;
}
.ca-input::placeholder { color: #b2b7c1; }

.ca-password-input[readonly] {
    user-select: all;
}

.ca-password-input { padding-right: 0; }

.ca-eye-btn {
    border: 0;
    background: transparent;
    color: #9aa0aa;
    cursor: pointer;
    padding: 0 0 0 0.4rem;
    font-size: 13px;
    flex-shrink: 0;
    transition: color 0.15s;
}
.ca-eye-btn:hover { color: #374151; }

/* Role dropdown */
.ca-role-wrap {
    position: relative;
    margin-bottom: 1.4rem;
}
.ca-role-select {
    width: 100%;
    appearance: none;
    border: 1.4px solid #c6cad3;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1);
    padding: 0.95rem 2.5rem 0.95rem 1rem;
    font-size: 16px;
    color: #1f2937;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}
.ca-role-select:focus {
    border-color: #0b40ef;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(11, 64, 239, 0.12);
}
.ca-role-select option[value=""][disabled] { color: #b2b7c1; }

.ca-role-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a909b;
    font-size: 11px;
    pointer-events: none;
}

/* Error */
.ca-error {
    margin-bottom: 0.75rem;
    font-size: 13px;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 7px;
    padding: 0.5rem 0.75rem;
}
.ca-error[hidden] { display: none; }

/* Action buttons */
.ca-actions {
    display: flex;
    justify-content: center;
    gap: 1.65rem;
    margin-top: 2rem;
}
.ca-btn {
    min-width: 112px;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.ca-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.ca-btn-cancel {
    background: #ffffff;
    border: 1.6px solid #2563eb;
    color: #1d4ed8;
}
.ca-btn-cancel:hover:not(:disabled) {
    background: #ecf2ff;
    border-color: #1d4ed8;
}

.ca-btn-submit {
    background: #1d4ed8;
    border: 1.6px solid #1d4ed8;
    color: #fff;
}
.ca-btn-submit:hover:not(:disabled) {
    background: #1e40af;
    border-color: #1e40af;
}

/* Admin User Details */
.uda-page {
    background: #f5f8ff;
    border-radius: 12px;
    padding: 1.4rem;
}

.uda-topbar {
    margin-bottom: 1rem;
}

.uda-back-btn {
    border: 0;
    border-radius: 8px;
    background: #1d4ed8;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.62rem 1rem;
}

.uda-card {
    background: #ffffff;
    border: 1px solid #dfe3eb;
    border-radius: 8px;
    padding: 1.4rem 1.35rem;
}

.uda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
}

.uda-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.uda-profile img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    background: #d4dde9;
}

.uda-profile-copy h2 {
    margin: 0 0 0.35rem;
    font-size: 32px;
    font-weight: 700;
    color: #111827;
}

.uda-account-status {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #111827;
    font-size: 14px;
}

.uda-status-pill {
    border-radius: 5px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 0.2rem 1.05rem;
}

.uda-status-active { background: #0f7a1e; }
.uda-status-suspended { background: #8d8d8d; }
.uda-status-blocked { background: #ff1d17; }

.uda-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.uda-action-btn {
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 0.68rem 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
}

.uda-action-btn.deactivate { background: #f3b500; }
.uda-action-btn.reactivate { background: #0f7a1e; }

.uda-action-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.uda-grid {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 1.2rem;
}

.uda-panel {
    border: 1px solid #aeb3bb;
    border-radius: 6px;
    background: #fff;
    min-height: 440px;
}

.uda-panel h3 {
    margin: 0;
    padding: 1.1rem 0.95rem 0.85rem;
    border-bottom: 1px solid #e0e3e7;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.uda-info-list {
    padding: 0.75rem 0.9rem 0.95rem;
}

.uda-info-row {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.8rem;
    align-items: start;
    padding: 0.65rem 0;
    color: #1f2937;
}

.uda-info-row i {
    font-size: 15px;
    margin-top: 0.2rem;
}

.uda-info-row span {
    display: block;
    color: #4b5563;
    font-size: 14px;
}

.uda-info-row p {
    margin: 0;
    color: #111827;
    font-size: 14px;
    line-height: 1.25;
}

.uda-logs-panel {
    overflow: hidden;
}

.uda-table-wrap {
    overflow-x: auto;
}

.uda-logs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

.uda-logs-table thead th {
    background: #8ba7df;
    color: #111827;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    padding: 0.72rem 0.82rem;
}

.uda-logs-table tbody td {
    padding: 0.72rem 0.82rem;
    border-bottom: 1px solid #eceff5;
    font-size: 13px;
    color: #1f2937;
    vertical-align: top;
}

.uda-modal-open {
    overflow: hidden;
}

.uda-status-confirm-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.5);
    backdrop-filter: blur(3px);
    z-index: 10010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.uda-status-confirm-modal[hidden] {
    display: none;
}

.uda-status-confirm-card {
    width: min(620px, 96vw);
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 56px rgba(17, 24, 39, 0.24);
    padding: 1.8rem 2rem 2rem;
    position: relative;
    text-align: center;
}

.uda-status-confirm-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 0;
    background: transparent;
    color: #1f46e0;
    font-size: 1.9rem;
    cursor: pointer;
}

.uda-status-confirm-icon {
    width: 76px;
    height: 76px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1rem;
}

.uda-status-confirm-card h3 {
    margin: 0 0 0.8rem;
    color: #111827;
    font-size: 24px;
    font-weight: 700;
}

.uda-status-confirm-message {
    margin: 0 0 1.55rem;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.uda-status-confirm-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: left;
    margin: 0 auto 1.35rem;
}

.uda-status-confirm-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background: #d9e3ef;
    flex: 0 0 auto;
}

.uda-status-confirm-profile-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.uda-status-confirm-profile-copy strong {
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.uda-status-confirm-profile-copy span {
    color: #111827;
    font-size: 14px;
    line-height: 1.3;
}

.uda-status-confirm-divider {
    width: 100%;
    border-top: 1px solid #d1d5db;
}

.uda-status-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 2.6rem;
    padding-top: 1.9rem;
}

.uda-status-confirm-cancel,
.uda-status-confirm-submit {
    min-width: 156px;
    min-height: 50px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.uda-status-confirm-cancel {
    border: 2px solid #2753ff;
    background: #ffffff;
    color: #2753ff;
}

.uda-status-confirm-submit {
    border: 2px solid #1f46e0;
    background: #1f46e0;
    color: #ffffff;
}

@media (max-width: 640px) {
    .uda-status-confirm-card {
        padding: 1.3rem 1rem 1.2rem;
    }

    .uda-status-confirm-card h3 {
        margin-bottom: 1rem;
        font-size: 22px;
    }

    .uda-status-confirm-message {
        font-size: 1rem;
    }

    .uda-status-confirm-profile {
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
    }

    .uda-status-confirm-avatar {
        width: 60px;
        height: 60px;
    }

    .uda-status-confirm-profile-copy strong {
        font-size: 14px;
    }

    .uda-status-confirm-profile-copy span {
        font-size: 13px;
    }

    .uda-status-confirm-actions {
        gap: 0.75rem;
        padding-top: 1.3rem;
    }

    .uda-status-confirm-cancel,
    .uda-status-confirm-submit {
        min-width: 0;
        flex: 1 1 0;
        min-height: 48px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .uda-grid {
        grid-template-columns: 1fr;
    }

    .uda-panel {
        min-height: unset;
    }

    .uda-profile-copy h2 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .ca-card {
        width: min(96vw, 520px);
        padding: 1.25rem 1rem 1rem;
    }

    .ca-title {
        font-size: 28px;
        margin-bottom: 1.35rem;
    }

    .ca-section-label {
        font-size: 20px;
    }

    .ca-actions {
        gap: 0.75rem;
    }

    .ca-btn {
        min-width: 0;
        flex: 1;
    }
}

/* ─── Appeal Management ──────────────────────────────────────────────────── */

.appeal-management-panel {
    padding: 1.5rem 1.5rem 0;
}

.appeal-management-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.appeal-management-tabs {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d5d9e3;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    flex-wrap: wrap;
}

.am-tab {
    border: none;
    border-right: 1px solid #d5d9e3;
    background: #ffffff;
    color: #6b7280;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 0.85rem 1.15rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.am-tab:last-child {
    border-right: none;
}

.am-tab.active {
    color: #0b40ef;
    background: #f7f9ff;
    box-shadow: inset 0 -2px 0 #0b40ef;
}

.am-tab-count {
    color: inherit;
}

.appeal-management-search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: min(100%, 440px);
}

.am-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid #d7dce7;
    border-radius: 8px;
    background: #ffffff;
    padding: 0 0.95rem;
    min-height: 44px;
}

.am-search-input-wrap i {
    color: #8a93a6;
    font-size: 14px;
}

.am-search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #1f2937;
}

.am-search-btn {
    min-width: 102px;
    min-height: 44px;
    padding: 0 1.25rem;
    border: none;
    border-radius: 8px;
    background: #0b40ef;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.am-search-btn:hover {
    background: #0932c4;
}

.appeal-table-card {
    background: #ffffff;
    border: 1px solid #d5d9e3;
    border-radius: 8px;
    overflow: hidden;
    min-height: 560px;
}

.appeal-table-wrap {
    overflow-x: auto;
    min-height: 520px;
}

.appeal-management-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}

.appeal-management-table thead th {
    background: #8eacf0;
    color: #1b2d57;
    text-align: left;
    padding: 1rem 1.75rem;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.appeal-management-table tbody td {
    padding: 0.95rem 1.75rem;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #1f2937;
    vertical-align: middle;
}

.appeal-management-table tbody tr:hover td {
    background: #f7f9ff;
}

.am-appeal-id {
    color: #2d3748;
    white-space: nowrap;
}

.am-person-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.am-person-cell img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #eef2fa;
    flex-shrink: 0;
}

.am-person-cell span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.am-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

.am-status-pending  { background: #f5b458; }
.am-status-resolved { background: #138f2d; }
.am-status-cancelled { background: #ff1717; }
.am-status-dismissed { background: #767676; }

.appeal-management-pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 0 0;
}

.am-page-label {
    margin-right: 0.35rem;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #2c3444;
}

/* Appeal Management — Skeleton */

.am-skeleton {
    padding: 0;
}

.am-skeleton[hidden] {
    display: none;
}

.am-skeleton-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #e8edf5;
    flex-wrap: wrap;
}

.am-skeleton-tabs {
    display: flex;
    gap: 0.5rem;
}

.am-skel-tab {
    height: 34px;
    width: 80px;
    border-radius: 6px;
}

.am-skel-search {
    height: 38px;
    width: 260px;
    border-radius: 8px;
}

.am-skeleton-card {
    background: white;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    border: 1px solid #e8edf5;
    border-top: none;
}

.am-skeleton-thead {
    display: grid;
    grid-template-columns: 15% 25% 25% 20% 15%;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background: #f8fafc;
    border-bottom: 1px solid #e8edf5;
}

.am-skeleton-thead div {
    height: 14px;
    border-radius: 4px;
}

.am-skeleton-rows {
    padding: 0.5rem 0;
}

.am-skel-row {
    display: grid;
    grid-template-columns: 15% 25% 25% 20% 15%;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f2f5fb;
}

.am-skel-row:last-child {
    border-bottom: none;
}

.am-skel-id {
    height: 14px;
    width: 75%;
    border-radius: 4px;
}

.am-skel-person {
    height: 32px;
    width: 85%;
    border-radius: 6px;
}

.am-skel-col {
    height: 14px;
    width: 65%;
    border-radius: 4px;
}

.am-skel-badge {
    height: 22px;
    width: 60%;
    border-radius: 6px;
}

@media (max-width: 992px) {
    .appeal-management-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .appeal-management-search {
        width: 100%;
    }

    .appeal-management-table thead th,
    .appeal-management-table tbody td {
        font-size: 13px;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 768px) {
    .appeal-management-panel {
        padding: 1rem 1rem 0;
    }

    .appeal-management-tabs {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .am-tab {
        text-align: left;
        border-right: none;
        border-bottom: 1px solid #d5d9e3;
    }

    .am-tab:last-child {
        border-bottom: none;
    }

    .appeal-management-search {
        flex-direction: column;
    }

    .am-search-input-wrap,
    .am-search-btn {
        max-width: none;
        width: 100%;
    }

    .appeal-management-pagination {
        flex-wrap: wrap;
    }

    .am-skel-search {
        width: 100%;
    }

    .am-skeleton-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   ADMIN PROFILE PAGE
   ============================================ */

#openAdminProfileBtn {
    cursor: pointer;
}

#openAdminProfileBtn:focus-visible {
    outline: 2px solid #0b40ef;
    outline-offset: 3px;
    border-radius: 10px;
}

.ap-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ap-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #dbe4fb;
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 45%, #dce8ff 100%);
    box-shadow: 0 8px 24px rgba(22, 64, 180, 0.11);
    padding: 1.25rem 1.4rem;
}

.ap-hero-glow {
    position: absolute;
    right: -64px;
    top: -70px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(11, 64, 239, 0.18), rgba(11, 64, 239, 0));
    pointer-events: none;
}

.ap-kicker {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: #1e4bb8;
}

.ap-title {
    margin: 0.35rem 0 0;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(26px, 3.6vw, 34px);
    font-weight: 800;
    color: #1b2d57;
}

.ap-subtitle {
    margin: 0.45rem 0 0;
    max-width: 760px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #53617c;
}

.ap-grid-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1rem;
}

.ap-card {
    border-radius: 16px;
    border: 1px solid #d8e2f4;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(13, 38, 99, 0.07);
}

.ap-profile-card {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 1.15rem;
    padding: 1.15rem;
}

.ap-left-col {
    position: relative;
    border-radius: 12px;
    border: 1px solid #d9e5ff;
    background: linear-gradient(180deg, #f9fbff 0%, #eef3ff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
    padding: 1rem;
}

.ap-avatar-shell {
    position: relative;
    width: 134px;
    height: 134px;
    min-width: 134px;
    min-height: 134px;
    max-width: 134px;
    max-height: 134px;
    flex: 0 0 134px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.ap-avatar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b40ef, #5e8bff);
    z-index: 0;
}

.ap-avatar {
    position: relative;
    display: block;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    min-width: calc(100% - 6px);
    min-height: calc(100% - 6px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    image-orientation: from-image;
    border-radius: 50%;
    border: 4px solid #ffffff;
    background: #f0f4ff;
    z-index: 1;
}

.ap-hidden-input {
    display: none;
}

.ap-role-badge {
    min-height: 30px;
    border-radius: 999px;
    padding: 0 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #1c3f90;
    border: 1px solid #c7d8ff;
    background: #e5eeff;
}

.ap-right-col {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.ap-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.ap-field {
    display: flex;
    flex-direction: column;
    gap: 0.34rem;
}

.ap-label {
    font-size: 12px;
    font-weight: 700;
    color: #3f4e6c;
}

.ap-input {
    width: 100%;
    min-height: 43px;
    border-radius: 10px;
    border: 1px solid #c8d4ec;
    background: #ffffff;
    padding: 0.6rem 0.75rem;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #192742;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ap-input:focus {
    border-color: #0b40ef;
    box-shadow: 0 0 0 3px rgba(11, 64, 239, 0.12);
    outline: none;
}

.ap-input:disabled,
.ap-input[readonly],
.ap-readonly {
    border-color: #d8e1ef;
    background: #f3f6fb;
    color: #6d7b95;
    cursor: not-allowed;
}

.ap-password-wrap {
    position: relative;
}

.ap-password-input {
    padding-right: 2.8rem;
}

.ap-password-eye {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: #edf2ff;
    color: #3c57a6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.ap-password-eye:hover {
    background: #dfe8ff;
    color: #173f9f;
}

.ap-password-eye:focus-visible {
    outline: 2px solid #0b40ef;
    outline-offset: 1px;
}

.ap-password-rule {
    margin-top: 0.4rem;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #d7deee;
    background: #f8faff;
    color: #496089;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.ap-password-rule.ap-rule-invalid {
    border-color: #f1baba;
    background: #fff1f1;
    color: #b53333;
}

.ap-password-rule.ap-rule-valid {
    border-color: #bae8c7;
    background: #eefcf3;
    color: #17703a;
}

.ap-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.ap-btn {
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid transparent;
    padding: 0.58rem 0.95rem;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.ap-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.ap-btn:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.ap-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #0b40ef, #2159ff);
    box-shadow: 0 8px 14px rgba(11, 64, 239, 0.2);
}

.ap-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #0a37d1, #1d4fdf);
}

.ap-btn-secondary {
    color: #1f376f;
    background: #eaf0ff;
    border-color: #c5d5f8;
}

.ap-btn-secondary:hover:not(:disabled) {
    background: #dde8ff;
}

.ap-btn-ghost {
    color: #233766;
    background: #ffffff;
    border-color: #cdd8ee;
}

.ap-btn-ghost:hover:not(:disabled) {
    background: #f4f8ff;
}

.ap-btn-soft {
    color: #1f3a71;
    background: #f1f5ff;
    border-color: #d5dff5;
}

.ap-btn-soft:hover:not(:disabled) {
    background: #e8efff;
}

.ap-btn-warning {
    color: #ffffff;
    background: linear-gradient(135deg, #ff8c1a, #e97400);
    box-shadow: 0 8px 14px rgba(220, 116, 0, 0.24);
}

.ap-btn-warning:hover:not(:disabled) {
    background: linear-gradient(135deg, #f07e0d, #d76900);
}

.ap-security-card {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.ap-security-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #1a2d5a;
}

.ap-security-copy {
    margin: 0.3rem 0 0;
    font-size: 13px;
    color: #5e6d86;
}

.ap-security-actions {
    display: flex;
    align-items: center;
}

.ap-otp-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ap-otp-grid {
    grid-template-columns: 1fr;
}

.ap-otp-submit {
    display: flex;
    justify-content: flex-start;
}

.ap-status {
    display: none;
    margin-top: 0.15rem;
    border-radius: 10px;
    padding: 0.58rem 0.74rem;
    font-size: 13px;
    font-weight: 700;
}

.ap-status-info {
    color: #1848a5;
    border: 1px solid #cfe1ff;
    background: #ecf4ff;
}

.ap-status-success {
    color: #0f6a2b;
    border: 1px solid #c2eacb;
    background: #ebf9ef;
}

.ap-status-error {
    color: #a12626;
    border: 1px solid #f3caca;
    background: #feeeee;
}

@media (max-width: 1200px) {
    .ap-grid-wrap {
        grid-template-columns: 1fr;
    }

    .ap-security-card {
        order: 2;
    }
}

@media (max-width: 992px) {
    .ap-profile-card {
        grid-template-columns: 1fr;
    }

    .ap-left-col {
        align-items: flex-start;
    }

    .ap-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ap-hero-card,
    .ap-profile-card,
    .ap-security-card {
        border-radius: 12px;
        padding: 0.9rem;
    }

    .ap-title {
        font-size: 24px;
    }

    .ap-action-row,
    .ap-otp-submit {
        width: 100%;
    }

    .ap-action-row .ap-btn,
    .ap-otp-submit .ap-btn {
        width: 100%;
    }
}
