/* =====================================================
   MANAGEMENT.CSS  -  ONE MERGED STYLESHEET
   Pages: Artist, Nirmata, Appointment, Event, Request,
          User, Gallery, Admin Dashboard

   Shared styles use grouped selectors, so each rule is
   written only once. Change the three theme colours
   below to re-colour every page at once.

   Checked against the project CSS (master): anything it
   already defines (status badges) is NOT repeated here, and
   class names it also uses (.event-search, .event-actions,
   .dashboard-header, ...) are scoped so they don't clash.
===================================================== */

:root {
    --brand: #fa5e21;        /* main accent (buttons, active filters, icons) */
    --brand-dark: #d94d02;   /* hover colour */
    --brand-tint: #fdeee6;   /* light background for icon bubbles / hovers */
}


/* =====================================================
   PAGE WRAPPER
===================================================== */
.artist-management,
.nirmata-management,
.appointment-management,
.event-management,
.request-management,
.user-management,
.admin-dashboard {
    padding: 30px;
}

.user-management {
    width: 100%;
}

.admin-dashboard {
    background: #f4f6f9;
    min-height: calc(100vh - 70px);
}

/* The nirmata event page reuses the class name .artist-management
   for a small box; cancel the page padding there */
.event-page .artist-management {
    padding: 20px 0 0;
}


/* =====================================================
   PAGE HEADER
===================================================== */
.artist-page-header,
.nirmata-page-header,
.appointment-page-header,
.event-page-header,
.request-page-header,
.user-page-header {
    margin-bottom: 30px;
}

.artist-page-header h1,
.nirmata-page-header h1,
.appointment-page-header h1,
.event-page-header h1,
.request-page-header h1,
.user-page-header h1 {
    margin: 0 0 6px;
    font-size: 30px;
    color: #222;
}

.artist-page-header h1 i,
.nirmata-page-header h1 i,
.appointment-page-header h1 i,
.event-page-header h1 i,
.request-page-header h1 i,
.user-page-header h1 i {
    color: var(--brand);
    margin-right: 10px;
}

.artist-page-header p,
.nirmata-page-header p,
.appointment-page-header p,
.event-page-header p,
.request-page-header p,
.user-page-header p {
    margin: 0;
    color: #666;
    font-size: 15px;
}


/* =====================================================
   TOOLBAR
===================================================== */
.artist-toolbar,
.nirmata-toolbar,
.appointment-toolbar,
.event-toolbar,
.request-toolbar,
.user-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.artist-toolbar,
.nirmata-toolbar,
.appointment-toolbar,
.event-toolbar,
.request-toolbar {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.user-toolbar {
    width: 100%;
}


/* =====================================================
   FILTER BUTTONS
===================================================== */
.artist-filters,
.nirmata-filters,
.appointment-filters,
.event-filters,
.request-filters,
.user-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.artist-filter-btn,
.nirmata-filter-btn,
.appointment-filter-btn,
.event-filter-btn,
.request-filter-btn,
.filter-btn {
    padding: 9px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.artist-filter-btn:hover,
.nirmata-filter-btn:hover,
.appointment-filter-btn:hover,
.event-filter-btn:hover,
.request-filter-btn:hover,
.filter-btn:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
    background: var(--brand-tint);
}

.artist-filter-btn.active,
.nirmata-filter-btn.active,
.appointment-filter-btn.active,
.event-filter-btn.active,
.request-filter-btn.active,
.filter-btn.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}


/* =====================================================
   SEARCH (search box + button)
===================================================== */
.artist-search form,
.nirmata-search form,
.appointment-search form,
.event-toolbar .event-search form,
.request-search form {
    display: flex;
    align-items: stretch;
    height: 45px;
}

.artist-search input,
.nirmata-search input,
.appointment-search input,
.event-toolbar .event-search input,
.request-search input {
    width: 220px;
    height: 45px;
    padding: 0 12px;
    margin: 0;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 6px 0 0 6px;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
    display: block;
}

.artist-search input:focus,
.nirmata-search input:focus,
.appointment-search input:focus,
.event-toolbar .event-search input:focus,
.request-search input:focus {
    border-color: var(--brand);
}

.artist-search button,
.nirmata-search button,
.appointment-search button,
.event-toolbar .event-search button,
.request-search button {
    width: auto;              /* overrides global button { width: 100% } */
    height: 45px;
    padding: 0 18px;
    margin: 0;
    border: none;
    border-radius: 0 6px 6px 0;
    background: var(--brand);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    box-sizing: border-box;
    display: block;
}

.artist-search button:hover,
.nirmata-search button:hover,
.appointment-search button:hover,
.event-toolbar .event-search button:hover,
.request-search button:hover {
    background: var(--brand-dark);
}


/* =====================================================
   LIST
===================================================== */
.artist-list,
.nirmata-list,
.appointment-list,
.event-list,
.request-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* =====================================================
   CARDS
===================================================== */
.artist-card,
.nirmata-card,
.appointment-card,
.admin-event-card,
.request-card {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: 0.2s;
}

.artist-card:hover,
.nirmata-card:hover,
.appointment-card:hover,
.admin-event-card:hover,
.request-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

/* Cream cards */
.artist-card,
.nirmata-card,
.appointment-card {
    background: #ebd7cf;
    border-radius: 0;
}

/* White cards */
.admin-event-card,
.request-card {
    background: #fff;
}

.admin-event-card {
    border-radius: 0;
}

.request-card {
    border-radius: 10px;
}

/* Horizontal cards (photo + details + action) */
.artist-card,
.nirmata-card,
.request-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.artist-card,
.nirmata-card {
    padding: 20px;
}

.appointment-card,
.admin-event-card,
.request-card {
    padding: 22px;
}


/* =====================================================
   PHOTO / AVATAR
===================================================== */
.artist-photo,
.nirmata-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #eaf3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.artist-photo img,
.nirmata-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-photo i,
.nirmata-photo i {
    font-size: 30px;
    color: #030303;
}

.request-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--brand-tint);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.request-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.request-avatar i {
    font-size: 28px;
}


/* =====================================================
   DETAILS / NAME
===================================================== */
.artist-details,
.nirmata-details,
.request-details {
    flex: 1;
}

.artist-name,
.nirmata-name,
.request-artist-name {
    margin: 0 0 12px;
    font-size: 20px;
    color: #222;
}


/* =====================================================
   CARD HEADERS (APPOINTMENT + EVENT)
===================================================== */
.appointment-card-header,
.admin-event-header {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.appointment-card-header {
    align-items: center;
    margin-bottom: 18px;
}

.admin-event-header {
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}

.appointment-title,
.admin-event-title {
    margin: 0;
    font-size: 20px;
    color: #222;
}

.appointment-title i,
.admin-event-title i {
    color: var(--brand);
    margin-right: 8px;
}


/* =====================================================
   INFORMATION GRID
===================================================== */
.artist-info-grid,
.nirmata-info-grid,
.appointment-info-grid,
.event-info-grid,
.request-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 30px;
}

.appointment-info-grid {
    gap: 12px 30px;
    margin-bottom: 18px;
}

.event-info-grid {
    gap: 10px 30px;
    margin-bottom: 15px;
}

.artist-info,
.nirmata-info,
.appointment-info,
.event-info-grid .event-info,
.request-info-grid .request-info {
    font-size: 14px;
    color: #666;
}

.artist-info strong,
.nirmata-info strong,
.appointment-info strong,
.event-info-grid .event-info strong,
.request-info-grid .request-info strong {
    color: #333;
}

.artist-info i,
.nirmata-info i,
.appointment-info i,
.event-info-grid .event-info i,
.request-info-grid .request-info i {
    width: 18px;
    color: var(--brand-dark);
    margin-right: 5px;
}

.appointment-info i {
    width: 20px;
}


/* =====================================================
   STATUS
   The project CSS already defines the status badge
   (.status, .status-pending, .status-published,
   .status-cancelled, .status-rejected, .status-draft,
   .status-closed), so those are not repeated here.
   Kept: the dot, the layout of the status lines, and
   the statuses the project CSS does not define.
===================================================== */
.artist-status,
.nirmata-status,
.appointment-status,
.request-card .request-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
}

.artist-status,
.nirmata-status,
.request-card .request-status {
    margin-top: 12px;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.event-status .status-dot,
.status .status-dot {
    width: 8px;
    height: 8px;
}

/* Text colours (statuses missing from the project CSS) */
.status-active,
.status-accepted,
.status-confirmed {
    color: #198754;
}

.status-inactive {
    color: #dc3545;
}

.status-completed {
    color: #007bff;
}

/* Dot colours */
.status-active .status-dot,
.status-accepted .status-dot,
.status-confirmed .status-dot,
.status-published .status-dot {
    background: #198754;
}

.status-inactive .status-dot,
.status-rejected .status-dot,
.status-cancelled .status-dot {
    background: #dc3545;
}

.status-pending .status-dot {
    background: #f59e0b;
}

.status-completed .status-dot {
    background: #007bff;
}

.status-draft .status-dot {
    background: #ffc107;
}

.status-closed .status-dot {
    background: #6c757d;
}

/* Event status pill (colours come from the project CSS) */
.event-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}


/* =====================================================
   APPOINTMENT: CONNECTION STATUS / BADGES
===================================================== */
.appointment-status-section {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.badge-verified,
.badge-confirmed {
    background: #eaf8f0;
    color: #198754;
}

.badge-cancelled {
    background: #fdecec;
    color: #dc3545;
}


/* =====================================================
   EVENT: DESCRIPTION / REQUEST COUNT / ACTIONS
===================================================== */
.event-description {
    margin-top: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.event-request-box {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--brand-tint);
    color: var(--brand-dark);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.admin-event-card .event-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.event-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.event-edit-btn {
    background: #f0f2f5;
    color: #333;
}

.event-edit-btn:hover {
    background: #e2e6ea;
    color: #222;
}

.event-close-btn {
    background: #fff3cd;
    color: #856404;
}

.event-close-btn:hover {
    background: #ffe69c;
}

.event-delete-btn {
    background: #f8d7da;
    color: #842029;
}

.event-delete-btn:hover {
    background: #f1aeb5;
}


/* =====================================================
   ACTION BUTTONS
===================================================== */
.artist-card .artist-actions,
.nirmata-card .nirmata-actions {
    display: flex;
    align-items: center;
}

.appointment-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.request-card .request-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Primary (orange) buttons */
.artist-view-btn,
.nirmata-view-btn,
.appointment-view-btn,
.request-action-btn,
.view-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.artist-view-btn,
.nirmata-view-btn,
.appointment-view-btn,
.event-view-btn,
.view-artist-btn,
.view-user-btn {
    background: var(--brand);
    color: #fff;
}

.artist-view-btn:hover,
.nirmata-view-btn:hover,
.appointment-view-btn:hover,
.event-view-btn:hover,
.view-artist-btn:hover,
.view-user-btn:hover {
    background: var(--brand-dark);
    color: #fff;
}

.view-user-btn {
    padding: 7px 13px;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.2s ease;
}

/* Grey button (request > view event) */
.view-event-btn {
    background: #6c757d;
    color: #fff;
}

.view-event-btn:hover {
    background: #5a6268;
    color: #fff;
}


/* =====================================================
   EMPTY STATES
===================================================== */
.artist-empty,
.nirmata-empty,
.appointment-empty,
.event-empty,
.request-empty {
    background: #fff;
    padding: 60px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    color: #777;
}

.artist-empty i,
.nirmata-empty i,
.appointment-empty i,
.event-empty i,
.request-empty i {
    font-size: 45px;
    color: #bbb;
    margin-bottom: 15px;
}

.artist-empty h3,
.nirmata-empty h3,
.appointment-empty h3,
.event-empty h3,
.request-empty h3 {
    margin: 0 0 8px;
    color: #444;
}

.artist-empty p,
.nirmata-empty p,
.appointment-empty p,
.event-empty p,
.request-empty p {
    margin: 0;
    font-size: 14px;
}

/* Smaller empty states (dashboard / user table) */
.empty-state,
.empty-users {
    text-align: center;
    color: #777;
}

.empty-state {
    padding: 35px 20px;
}

.empty-users {
    padding: 50px 20px;
}

.empty-state i,
.empty-users i {
    font-size: 35px;
    color: #bbb;
    margin-bottom: 10px;
}

.empty-state h3,
.empty-users h3 {
    margin: 5px 0;
    color: #555;
    font-size: 16px;
}

.empty-state p,
.empty-users p {
    margin: 0;
    font-size: 13px;
}

.empty-users p {
    color: #888;
}


/* =====================================================
   PAGINATION
===================================================== */
.artist-pagination,
.nirmata-pagination,
.appointment-pagination,
.event-pagination,
.request-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 25px;
}

.artist-pagination a,
.artist-pagination span,
.nirmata-pagination a,
.nirmata-pagination span,
.appointment-pagination a,
.appointment-pagination span,
.event-pagination a,
.event-pagination span,
.request-pagination a,
.request-pagination span {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #555;
    text-decoration: none;
    font-size: 13px;
}

.artist-pagination a:hover,
.nirmata-pagination a:hover,
.appointment-pagination a:hover,
.event-pagination a:hover,
.request-pagination a:hover,
.pagination-buttons a:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
}

.artist-pagination .current,
.nirmata-pagination .current,
.appointment-pagination .current,
.event-pagination .current,
.request-pagination .current {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 600;
}

.artist-pagination .disabled,
.nirmata-pagination .disabled,
.appointment-pagination .disabled,
.event-pagination .disabled,
.request-pagination .disabled {
    color: #bbb;
    background: #f5f5f5;
}


/* =====================================================
   GALLERY
===================================================== */
.gallery-section {
    padding: 25px;
    border-bottom: 1px solid #eeeeee;
}

.gallery-section:last-child {
    border-bottom: none;
}

.gallery-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.gallery-section-header h2 {
    margin: 0 0 6px 0;
    font-size: 20px;
    color: #222;
}

.gallery-section-header p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.gallery-upload-form {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fb;
    border: 1px dashed #d9dce2;
    border-radius: 8px;
    margin-bottom: 25px;
    width: fit-content;
    max-width: 100%;
}

.gallery-upload-form input[type="file"] {
    width: 300px;
    max-width: 100%;
    margin: 0;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.gallery-upload-btn {
    width: auto;              /* overrides global button { width: 100% } */
    border: none;
    background: var(--brand);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.gallery-upload-btn:hover {
    background: var(--brand-dark);
}

.gallery-upload-btn i {
    margin-right: 6px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-card {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f2f4;
    border: 1px solid #e5e5e5;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.95);
    color: #ffffff;
    text-decoration: none;
    opacity: 0;
    transition: all 0.2s ease;
}

.gallery-card:hover .gallery-delete-btn {
    opacity: 1;
}

.gallery-delete-btn:hover {
    background: #b02a37;
    transform: scale(1.05);
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #777;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 8px;
}

.gallery-empty i {
    font-size: 32px;
    color: #bbb;
    margin-bottom: 10px;
}

.gallery-empty h3 {
    margin: 5px 0;
    color: #555;
}

.gallery-empty p {
    margin: 0;
    font-size: 14px;
}


/* =====================================================
   ADMIN DASHBOARD
===================================================== */
.admin-dashboard .dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-dashboard .dashboard-title h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: #222;
}

.admin-dashboard .dashboard-title h1 i {
    color: var(--brand);
    margin-right: 8px;
}

.admin-dashboard .dashboard-title p {
    margin: 7px 0 0;
    color: #666;
    font-size: 15px;
}

/* Statistics cards */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
    border: 1px solid #eeeeee;
    transition: all 0.25s ease;
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
}

.stat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: var(--brand-tint);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-card-title {
    font-size: 14px;
    color: #777;
    margin: 0 0 5px;
    font-weight: 500;
}

.stat-number {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

/* Per-category icon colours */
.stat-users .stat-icon {
    background: #eaf3ff;
    color: #007bff;
}

.stat-artists .stat-icon {
    background: #f3eaff;
    color: #7b2cbf;
}

.stat-nirmatas .stat-icon {
    background: #eafaf0;
    color: #198754;
}

.stat-events .stat-icon {
    background: #fff3e6;
    color: #fd7e14;
}

.stat-requests .stat-icon {
    background: #fff0f0;
    color: #dc3545;
}

.stat-appointments .stat-icon {
    background: #eaf8ff;
    color: #0dcaf0;
}

/* Main grid + panels */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-panel {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #eeeeee;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.panel-header h2 {
    margin: 0;
    font-size: 20px;
    color: #222;
}

.panel-header h2 i {
    color: var(--brand);
    margin-right: 7px;
}

.view-all {
    color: var(--brand);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.view-all:hover {
    color: var(--brand-dark);
}

/* Recent activity (full width) */
.activity-section {
    width: 100%;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin-top: 25px;
}

.activity-section h2 {
    margin: 0 0 20px;
    font-size: 21px;
    color: #222;
}

.activity-list {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.activity-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid #eeeeee;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: var(--brand-tint);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-content h4 {
    margin: 0 0 4px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.activity-content p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.activity-time {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
    margin-left: auto;
}

/* Quick actions */
.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #eeeeee;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-action:hover {
    background: var(--brand-tint);
    border-color: var(--brand);
    color: var(--brand-dark);
}

.quick-action i {
    color: var(--brand);
    font-size: 17px;
}

.quick-action span {
    font-size: 13px;
    font-weight: 600;
}

/* Verification panel */
.verification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #eeeeee;
}

.verification-item:last-child {
    border-bottom: none;
}

.verification-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.verification-info i {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff3cd;
    color: #856404;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verification-info h4 {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.verification-info p {
    margin: 3px 0 0;
    font-size: 12px;
    color: #777;
}

.pending-badge {
    background: #fff3cd;
    color: #856404;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}


/* =====================================================
   USER MANAGEMENT (TABLE)
===================================================== */
.user-panel {
    width: 100%;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Search with icon */
.user-search {
    position: relative;
    width: 280px;
}

.user-search i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

.user-search input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 38px;
    margin: 0;                /* overrides global input margin-bottom */
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    color: #333;
    background: #fff;
}

.user-search input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(250, 94, 33, 0.12);
}

/* Table */
.user-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.user-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 750px;
}

.user-table thead {
    background: #f8f9fa;
}

.user-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    border-bottom: 1px solid #e5e5e5;
    white-space: nowrap;
}

.user-table td {
    padding: 15px 16px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #eeeeee;
    vertical-align: middle;
}

.user-table tbody tr:last-child td {
    border-bottom: none;
}

.user-table tbody tr:hover {
    background: #fafcff;
}

/* User name + avatar */
.user-name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 600;
}

.user-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: var(--brand-tint);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Role badges */
.user-role {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.role-artist {
    background: #eaf3ff;
    color: #007bff;
}

.role-nirmata {
    background: #f3eaff;
    color: #7b2cbf;
}

/* Table pagination */
.user-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.user-count {
    font-size: 13px;
    color: #777;
}

.pagination-buttons {
    display: flex;
    gap: 6px;
}

.pagination-buttons a {
    padding: 7px 11px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #555;
    font-size: 13px;
}


/* =====================================================
   RESPONSIVE (largest to smallest)
===================================================== */
@media (max-width: 1100px) {

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1000px) {

    .artist-toolbar,
    .nirmata-toolbar,
    .appointment-toolbar,
    .event-toolbar,
    .request-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .artist-search form,
    .nirmata-search form,
    .appointment-search form,
    .event-toolbar .event-search form,
    .request-search form {
        width: 100%;
    }

    .artist-search input,
    .nirmata-search input,
    .appointment-search input,
    .event-toolbar .event-search input,
    .request-search input {
        flex: 1;
        width: auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {

    .user-management {
        padding: 20px;
    }

    .user-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .user-search {
        width: 100%;
    }
}

@media (max-width: 700px) {

    /* Page wrappers */
    .artist-management,
    .nirmata-management,
    .appointment-management,
    .event-management,
    .request-management,
    .admin-dashboard {
        padding: 20px;
    }

    /* Cards stack vertically */
    .artist-card,
    .nirmata-card,
    .request-card,
    .appointment-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-event-header {
        flex-direction: column;
    }

    .artist-info-grid,
    .nirmata-info-grid,
    .appointment-info-grid,
    .event-info-grid,
    .request-info-grid {
        grid-template-columns: 1fr;
    }

    /* Action buttons */
    .artist-card .artist-actions,
    .nirmata-card .nirmata-actions,
    .request-card .request-actions {
        width: 100%;
    }

    .appointment-actions {
        justify-content: stretch;
    }

    .artist-view-btn,
    .nirmata-view-btn,
    .appointment-view-btn {
        width: 100%;
        justify-content: center;
    }

    .request-action-btn {
        flex: 1;
        justify-content: center;
    }

    .admin-event-card .event-actions {
        flex-direction: column;
    }

    .event-action-btn {
        width: 100%;
        justify-content: center;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-upload-form {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .gallery-upload-form input[type="file"],
    .gallery-upload-btn {
        width: 100%;
    }

    /* Dashboard */
    .admin-dashboard .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .admin-stats,
    .quick-actions {
        grid-template-columns: 1fr;
    }

    .panel-header {
        align-items: flex-start;
        gap: 10px;
    }

    .activity-item {
        align-items: flex-start;
    }

    .activity-time {
        display: none;
    }
}

@media (max-width: 600px) {

    .activity-section {
        padding: 20px;
    }

    .user-management {
        padding: 15px;
    }

    .user-panel {
        padding: 15px;
    }

    .user-page-header h1 {
        font-size: 24px;
    }

    .user-pagination {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 500px) {

    .artist-filters,
    .nirmata-filters,
    .appointment-filters,
    .event-filters,
    .request-filters,
    .user-filters {
        width: 100%;
    }

    .artist-filter-btn,
    .nirmata-filter-btn,
    .appointment-filter-btn,
    .event-filter-btn,
    .request-filter-btn,
    .filter-btn {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 450px) {

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-section {
        padding: 18px 12px;
    }

    .gallery-card {
        height: 200px;
    }
}