/**
 * Auction Agents Core - Frontend Styles
 */

/* Container */
.aac-agents-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 30px 0;
    padding: 0;
}

.aac-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.aac-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.aac-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Agent Card - Professional Enhanced Design */
.aac-agent-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 0;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Arial, 'Arabic UI Text', 'Arabic Typesetting', sans-serif;
    margin: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    direction: rtl;
    text-align: right;
    position: relative;
}

.aac-agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0073aa 0%, #005a87 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.aac-agent-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #cbd5e1;
}

.aac-agent-card:hover::before {
    opacity: 1;
}

/* Hero Image Header */
.aac-card-image-header {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
}

.aac-card-image-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.aac-agent-card:hover .aac-card-image-header img {
    transform: scale(1.1);
}

/* Gradient Overlay */
.aac-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Placeholder Avatar */
.aac-card-image-header .aac-placeholder-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    border: 3px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: relative;
}

/* Card Content - Structured Rows */
.aac-card-content {
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Card Row */
.aac-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    min-height: 52px;
    position: relative;
}

.aac-card-row::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #0073aa;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.aac-card-row:hover {
    background-color: #f8fafc;
}

.aac-card-row:hover::before {
    opacity: 1;
}

.aac-card-row:last-of-type {
    border-bottom: none;
}

/* Title Row */
.aac-card-title-row {
    padding: 20px 20px 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.5), transparent);
}

.aac-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    width: 100%;
    text-align: right;
    letter-spacing: -0.2px;
}

.aac-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.aac-card-title a:hover {
    color: #0073aa;
}

/* License Row - Enhanced */
.aac-card-location-row,
.aac-card-license-row {
    background: linear-gradient(to right, rgba(240, 247, 250, 0.6), transparent);
}

.aac-card-location-row .aac-card-label,
.aac-card-license-row .aac-card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0073aa;
    font-weight: 600;
}

.aac-label-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0073aa;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.aac-card-license-row .aac-card-value {
    color: #0073aa;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* Card Label */
.aac-card-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0;
    flex-shrink: 0;
    margin-left: 15px;
    min-width: 150px;
    line-height: 1.5;
    text-transform: none;
}

/* Card Value */
.aac-card-value {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    text-align: left;
    flex: 1;
    word-break: break-word;
    line-height: 1.5;
}

/* Empty value placeholder */
.aac-card-value:empty::before {
    content: "—";
    color: #94a3b8;
    font-style: normal;
    font-weight: 400;
}

/* Stats Row - Single line with backgrounds, centered */
.aac-card-stats-row {
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.aac-card-stats-row::before {
    display: none; /* Remove accent line for stats row */
}

.aac-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.2s ease;
}

/* Assets Stat - Blue/Gray tone */
.aac-stat-assets {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.aac-agent-card:hover .aac-stat-assets {
    background: #dbeafe;
    border-color: #93c5fd;
}

.aac-stat-assets .aac-stat-label {
    font-size: 11px;
    font-weight: 500;
    color: #3b82f6;
    white-space: nowrap;
}

.aac-stat-assets .aac-stat-value {
    font-size: 13px;
    font-weight: 700;
    color: #1e40af;
    white-space: nowrap;
}

/* Auctions Stat - Green/Gray tone */
.aac-stat-auctions {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.aac-agent-card:hover .aac-stat-auctions {
    background: #dcfce7;
    border-color: #86efac;
}

.aac-stat-auctions .aac-stat-label {
    font-size: 11px;
    font-weight: 500;
    color: #22c55e;
    white-space: nowrap;
}

.aac-stat-auctions .aac-stat-value {
    font-size: 13px;
    font-weight: 700;
    color: #15803d;
    white-space: nowrap;
}

/* Card Action Button */
.aac-card-action {
    padding: 18px 20px;
    border-top: 2px solid #f1f5f9;
    margin-top: auto;
    background: #fafbfc;
}

.aac-card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: none;
    cursor: pointer;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 115, 170, 0.15);
}

.aac-card-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.aac-button-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.aac-card-button:hover {
    background: linear-gradient(135deg, #005a87 0%, #004d6e 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 115, 170, 0.3);
}

.aac-card-button:hover::before {
    left: 100%;
}

.aac-card-button:hover .aac-button-arrow {
    transform: translateX(-4px);
}

.aac-card-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.2);
}

/* No Agents Message */
.aac-no-agents {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

/* Single Agent Page - Uses Default Theme Template */
/* All layout, width, margins, and padding controlled by theme */
.aac-single-agent-container {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
}

/* Breadcrumb Navigation - Minimal styling, theme controls layout */
.aac-breadcrumb {
    margin-bottom: 1.5em;
    padding: 0.75em 0;
    border-bottom: 1px solid #eee;
}

.aac-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
}

.aac-breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.aac-breadcrumb-item a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.aac-breadcrumb-item a:hover {
    color: #005a87;
    text-decoration: underline;
}

.aac-breadcrumb-current {
    color: #333;
    font-weight: 500;
}

.aac-breadcrumb-separator {
    color: #ccc;
    margin: 0 4px;
    user-select: none;
    font-size: 12px;
}

/* Profile: كتلة واحدة – غلاف + صف (صورة، اسم، ترخيص، شارة، تواصل، وصف، متابعة) */
.aac-agent-profile-header-compact {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.875em;
    box-sizing: border-box;
    background: #fff;
}

.aac-profile-cover {
    position: relative;
    width: 100%;
    height: 300px;
    background: #e8ecf0;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.aac-profile-cover-inner {
    position: absolute;
    inset: 0;
}

.aac-profile-cover-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 640px) {
    .aac-profile-cover {
        height: 200px;
    }
}

.aac-profile-header-row-1 {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    padding: 1.25em 1.25em;
    box-sizing: border-box;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.aac-profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
    border: 2px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.aac-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aac-profile-main-info {
    flex-grow: 1;
    min-width: 0;
}

.aac-profile-name-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.aac-profile-name-compact {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

.aac-profile-location-compact {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
}

.aac-profile-location-compact .aac-location-item {
    display: inline-block;
    margin-left: 10px;
    color: #111827;
}
.aac-profile-location-compact .aac-location-item:last-child {
    margin-left: 0;
}

.aac-profile-location-compact .aac-location-item strong {
    color: #42989A;
    font-weight: 500;
    margin-inline-end: 2px;
}

.aac-profile-license-compact {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.aac-profile-license-compact .aac-license-item {
    display: inline-block;
    margin-left: 8px;
}
.aac-profile-license-compact .aac-license-item:first-child {
    margin-left: 0;
}

.aac-license-authority-compact {
    color: #999;
    font-size: 12px;
}

.aac-profile-licensed-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3E9AF1;
    font-size: 13px;
    font-weight: 600;
}

.aac-profile-licensed-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3E9AF1;
    color: #fff;
    flex-shrink: 0;
}

.aac-profile-licensed-icon svg {
    display: block;
}

.aac-profile-contact-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 14px;
    flex-wrap: wrap;
}

.aac-contact-link-compact {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.aac-contact-link-compact:hover {
    color: #005a87;
    text-decoration: underline;
}

.aac-contact-divider {
    color: #ccc;
    font-size: 12px;
}

/* Profile Social Icons – Minimal SaaS style */
.aac-profile-social-compact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.aac-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.aac-social-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: #334155;
    transition: fill 0.2s ease;
}

.aac-social-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
}

.aac-social-link:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.16);
}

/* Brand hover states – neutral by default, colored on hover */
.aac-social-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.aac-social-instagram:hover {
    background: radial-gradient(circle at 30% 30%, #feda75 0, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
    border-color: #c13584;
}

.aac-social-snapchat:hover {
    background: #fffc00;
    border-color: #facc15;
}

.aac-social-linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
}

.aac-social-whatsapp:hover {
    background: #25d366;
    border-color: #22c55e;
}

.aac-social-link:hover .aac-social-icon svg {
    fill: #ffffff;
}

.aac-profile-description-compact {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

/* Followers Indicator */
.aac-profile-follow-compact .aac-profile-followers-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 12px;
    color: #999;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
}

.aac-profile-follow-compact .aac-followers-icon {
    font-size: 13px;
    opacity: 0.8;
}

.aac-profile-follow-compact .aac-followers-count {
    color: #999;
    font-weight: 400;
}

.aac-profile-description-compact {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    max-width: 100%;
}

/* حول المسوق – قسم الوصف فوق الملخص التنفيذي */
.aac-about-agent-section {
    margin-bottom: 2.5em;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 1.25em 1.25em;
}

.aac-about-agent-section .aac-executive-title {
    margin-top: 0;
}

.aac-about-agent-section .aac-profile-description-compact {
    display: block;
    margin-top: 0.5em;
}

.aac-profile-no-description {
    color: #999;
    font-style: italic;
    margin: 0;
}

/* Share Button Compact (next to Follow) */
.aac-profile-share-compact {
    position: relative;
    flex-shrink: 0;
    align-self: flex-start;
}

.aac-share-btn-compact {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.aac-share-btn-compact:hover {
    border-color: #0073aa;
    color: #0073aa;
    background: #f0f7fa;
}

.aac-share-btn-icon {
    font-size: 14px;
    line-height: 1;
}

.aac-share-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    min-width: 140px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    padding: 6px 0;
    z-index: 50;
}

.aac-share-dropdown[hidden] {
    display: none !important;
}

.aac-share-link {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    color: #334155;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: right;
    cursor: pointer;
    transition: background 0.15s ease;
}

.aac-share-link:hover {
    background: #f1f5f9;
}

.aac-share-link.aac-share-copy {
    font-family: inherit;
}

/* Follow Button Compact */
.aac-profile-follow-compact {
    flex-shrink: 0;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.aac-follow-btn-compact {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.aac-follow-btn-compact:hover:not(:disabled) {
    border-color: #0073aa;
    color: #0073aa;
    background: #f0f7fa;
}

.aac-follow-btn-compact:active:not(:disabled) {
    transform: scale(0.98);
}

.aac-follow-btn-compact:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.aac-follow-btn-compact.aac-following {
    border-color: #666;
    color: #666;
    background: #f5f5f5;
}

.aac-follow-btn-compact.aac-following:hover:not(:disabled) {
    border-color: #c62828;
    color: #c62828;
    background: #ffebee;
}

.aac-follow-btn-compact.aac-follow-login {
    border-color: #0073aa;
    color: #0073aa;
}

.aac-follow-btn-compact.aac-follow-login:hover {
    background: #0073aa;
    color: #fff;
}

.aac-follow-btn-loader-compact {
    display: inline-block;
    font-size: 12px;
}

/* Legacy Follow Button (kept for backward compatibility) */
.aac-follow-agent-wrapper {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.aac-follow-agent-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.aac-follow-agent-btn:hover:not(:disabled) {
    background: #005a87;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
}

.aac-follow-agent-btn:active:not(:disabled) {
    transform: translateY(0);
}

.aac-follow-agent-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.aac-follow-agent-btn.aac-following {
    background: #666;
}

.aac-follow-agent-btn.aac-following:hover:not(:disabled) {
    background: #555;
}

.aac-follow-agent-btn.aac-follow-login {
    background: #0073aa;
}

.aac-follow-agent-btn.aac-follow-login:hover {
    background: #005a87;
    color: #fff;
}

.aac-follow-btn-loader {
    display: inline-block;
}

/* Attempts Section */
.aac-agent-attempts-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.aac-attempts-section-title {
    margin: 0 0 30px 0;
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

/* Attempts Tabs */
.aac-attempts-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    flex-wrap: wrap;
}

.aac-tab-button {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: -2px;
}

.aac-tab-button:hover {
    color: #0073aa;
    background: #f5f5f5;
}

.aac-tab-button.active {
    color: #0073aa;
    border-bottom-color: #0073aa;
    background: transparent;
}

.aac-tab-icon {
    font-size: 18px;
}

.aac-tab-count {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.aac-tab-button.active .aac-tab-count {
    background: #0073aa;
    color: #fff;
}

/* Attempts Content */
.aac-attempts-content {
    min-height: 200px;
}

.aac-tab-content {
    display: none;
}

.aac-tab-content.active {
    display: block;
}

/* Attempts List */
.aac-attempts-list {
    display: grid;
    gap: 20px;
}

.aac-attempt-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    border-right: 4px solid #0073aa;
    transition: background 0.3s ease;
}

.aac-attempt-item:hover {
    background: #f0f0f0;
}

.aac-attempt-header {
    margin-bottom: 15px;
}

.aac-attempt-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.aac-attempt-title a {
    color: #333;
    text-decoration: none;
}

.aac-attempt-title a:hover {
    color: #0073aa;
}

.aac-attempt-event {
    font-size: 14px;
    color: #666;
}

.aac-attempt-event-label {
    font-weight: 500;
    margin-left: 5px;
}

.aac-attempt-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.aac-attempt-date,
.aac-attempt-price {
    font-size: 14px;
}

.aac-attempt-date-label,
.aac-attempt-price-label {
    font-weight: 500;
    color: #666;
    margin-left: 5px;
}

.aac-attempt-date-value,
.aac-attempt-price-value {
    color: #333;
}

.aac-attempt-price-value {
    font-weight: 600;
    color: #0073aa;
}

.aac-attempts-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* Archive Page */
.aac-archive-agents-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.aac-archive-title {
    margin: 0 0 40px 0;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

/* Pagination */
.aac-pagination {
    margin: 40px 0 20px;
    padding: 0;
    text-align: center;
    direction: rtl;
}

.aac-pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.aac-pagination .page-numbers:hover,
.aac-pagination .page-numbers.current {
    background: linear-gradient(135deg, #0F375A 0%, #3E9799 100%);
    border-color: transparent;
    color: #fff;
}

.aac-pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

/* Agent Snapshot Section */
/* Layout, spacing, and background controlled by theme */
.aac-agent-snapshot-section {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 2.5em;
    margin-bottom: 2.5em;
    box-sizing: border-box;
}

.aac-snapshot-title {
    margin: 0 0 30px 0;
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.aac-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}

.aac-snapshot-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 20px;
    margin: 0;
    background: #f9f9f9;
    border-radius: 8px;
    border-right: 4px solid #0073aa;
    transition: background 0.3s ease;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

.aac-snapshot-item:hover {
    background: #f0f0f0;
}

.aac-snapshot-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.aac-snapshot-content {
    flex-grow: 1;
}

.aac-snapshot-value {
    font-size: 32px;
    font-weight: 700;
    color: #0073aa;
    line-height: 1.2;
    margin-bottom: 5px;
}

.aac-snapshot-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.aac-snapshot-pct {
    font-size: 13px;
    color: #0073aa;
    font-weight: 600;
    margin-top: 4px;
}

/* ========== الملخص التنفيذي – 3-row dashboard (charts + KPIs + ops) ========== */
.aac-executive-summary {
    direction: rtl;
    font-family: inherit;
    margin-top: 1.5em;
    margin-bottom: 28px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
}

.aac-executive-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a365d;
    letter-spacing: -0.02em;
    text-align: right;
}

.aac-executive-row {
    margin-bottom: 18px;
    min-width: 0;
    width: 100%;
    height: auto;
    min-height: 0;
}

.aac-executive-row:last-child {
    margin-bottom: 0;
}

/* ----- KPI: 3×2 grid (balanced, RTL) ----- */
.aac-executive-row-kpis {
    width: 100%;
    box-sizing: border-box;
    display: block;
    height: auto;
    min-height: 0;
}

.aac-executive-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    direction: rtl;
}

@media (max-width: 640px) {
    .aac-executive-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .aac-executive-kpi-value { font-size: 22px; }
    .aac-executive-kpi-label { font-size: 9px; }
}

.aac-executive-kpi-block {
    min-width: 0;
    padding: 12px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fafbfc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    border-right-width: 3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aac-executive-kpi-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 3-color system: Primary Navy #1E2A38, Success Teal #0E8A7A, Neutral #AAB4BE */
.aac-executive-kpi-block.aac-executive-kpi-assets {
    background: rgba(30, 42, 56, 0.04);
    border-right-color: #1E2A38;
}

.aac-executive-kpi-block.aac-executive-kpi-sold {
    background: rgba(14, 138, 122, 0.06);
    border-right-color: #0E8A7A;
}

.aac-executive-kpi-block.aac-executive-kpi-unsold {
    background: rgba(170, 180, 190, 0.12);
    border-right-color: #AAB4BE;
}

.aac-executive-kpi-block.aac-executive-kpi-total {
    background: rgba(30, 42, 56, 0.04);
    border-right-color: #1E2A38;
}

.aac-executive-kpi-block.aac-executive-kpi-quality {
    background: rgba(30, 42, 56, 0.04);
    border-right-color: #1E2A38;
}

.aac-executive-kpi-block.aac-executive-kpi-donut,
.aac-executive-kpi-block.aac-executive-kpi-focal {
    background: rgba(14, 138, 122, 0.06);
    border-right-color: #0E8A7A;
}

.aac-executive-kpi-block:hover .aac-executive-kpi-value,
.aac-executive-kpi-block:hover .aac-executive-donut-value {
    color: #0f172a;
}

.aac-executive-kpi-block.aac-executive-kpi-focal:hover .aac-executive-donut-value {
    color: #0E8A7A;
}

.aac-executive-kpi-value-wrap {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.aac-executive-kpi-value {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.aac-executive-kpi-progress-underline {
    display: block;
    height: 2px;
    width: 0;
    margin-top: 2px;
    background: currentColor;
    opacity: 0.2;
    border-radius: 1px;
    animation: aac-kpi-underline 0.8s ease 0.3s forwards;
}

@keyframes aac-kpi-underline {
    to { width: 100%; }
}

.aac-executive-kpi-label {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    margin-top: 2px;
    margin-bottom: 0;
    letter-spacing: 0.02em;
}

.aac-executive-sparkline-wrapper {
    height: 28px !important;
    max-height: 28px !important;
    min-height: 28px !important;
    overflow: hidden !important;
    margin-top: 1px;
    width: 120px;
    max-width: 100%;
}

canvas.aac-executive-sparkline {
    height: 28px !important;
    max-height: 28px !important;
    min-height: 28px !important;
    width: 120px !important;
    max-width: 120px !important;
}

.aac-executive-sparkline {
    display: block;
    margin-top: 0;
}

.aac-executive-kpi-block.aac-executive-kpi-donut .aac-executive-kpi-value-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.aac-executive-donut-mini-wrap {
    position: relative;
    width: 40px;
    height: 40px;
    margin-bottom: 0;
}

.aac-executive-kpi-focal .aac-executive-donut-mini-wrap {
    width: 46px;
    height: 46px;
}

.aac-executive-donut-mini {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.aac-executive-donut-mini .aac-executive-donut-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 3;
}

.aac-executive-donut-mini .aac-executive-donut-fill {
    fill: none;
    stroke: #0E8A7A;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s ease-out;
}

.aac-executive-donut-value {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-weight: 800;
    color: #0E8A7A;
    letter-spacing: -0.02em;
}

.aac-executive-kpi-focal .aac-executive-donut-value {
    font-size: 14px;
    color: #0E8A7A;
}

.aac-executive-quality-badge {
    display: inline-block;
    min-width: 40px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0;
}

.aac-executive-quality-0 {
    background: #fef2f2;
    color: #991b1b;
}

.aac-executive-quality-1 {
    background: #fff7ed;
    color: #9a3412;
}

.aac-executive-quality-2 {
    background: #eff6ff;
    color: #1e4976;
}

.aac-executive-quality-3 {
    background: #ecfdf5;
    color: #065f46;
}

.aac-executive-quality-4 {
    background: #ecfdf5;
    color: #064e3b;
}

.aac-executive-quality-na {
    background: #f1f5f9;
    color: #64748b;
}

/* ----- ROW 2: Line chart (60%) + Donut (40%) ----- */
.aac-executive-row-charts {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    grid-auto-rows: auto;
    gap: 20px;
    align-items: start;
    width: 100%;
}

@media (max-width: 900px) {
    .aac-executive-row-charts {
        grid-template-columns: 1fr;
    }
}

.aac-executive-chart-main {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    min-height: 280px;
    min-width: 0;
    overflow: hidden;
}

.aac-executive-chart-main {
    grid-column: 1;
}

.aac-executive-chart-side {
    grid-column: 2;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    min-height: 280px;
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 900px) {
    .aac-executive-chart-side {
        grid-column: 1;
    }
}

.aac-executive-chart-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.aac-executive-chart-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a365d;
}

.aac-executive-chart-tabs {
    display: flex;
    gap: 6px;
}

.aac-executive-tab {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #5a6c7d;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.aac-executive-tab:hover {
    background: #e2e8f0;
    color: #1a365d;
}

.aac-executive-tab.active {
    background: #1E2A38;
    color: #fff;
}

.aac-executive-chart-wrap {
    height: 240px;
    position: relative;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.aac-executive-chart-wrap canvas {
    max-width: 100%;
    display: block;
}

.aac-executive-chart-tooltip {
    font-size: 11px;
    color: #94a3b8;
    margin: 10px 0 0 0;
    line-height: 1.4;
}

.aac-executive-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: center;
    margin-top: 14px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    direction: rtl;
}

.aac-executive-chart-legend-item {
    font-size: 11px;
    color: #64748b;
    line-height: 1.5;
}

.aac-executive-chart-legend-item strong {
    color: #475569;
    font-weight: 600;
    margin-left: 4px;
}

.aac-executive-donut-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.aac-executive-donut-chart-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 12px;
}

.aac-executive-donut-wrap canvas {
    max-height: 180px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.aac-executive-donut-trading-total {
    margin-top: 14px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
    width: 100%;
    max-width: 240px;
    box-sizing: border-box;
}

.aac-executive-donut-trading-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 4px;
}

.aac-executive-donut-trading-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1E2A38;
}

.aac-executive-donut-currency {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.aac-executive-donut-trading-note {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    margin-top: 4px;
}

/* ----- ROW 3: النشاط التشغيلي – 3 mini cards (white + dot) ----- */
.aac-executive-row-ops {
    background: #f8fafc;
    border-radius: 14px;
    padding: 16px 20px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

.aac-executive-ops-section-title {
    margin: 0 0 16px 0;
    font-size: 15px;
    font-weight: 700;
    color: #475569;
    text-align: right;
}

.aac-executive-ops-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    direction: rtl;
}

@media (max-width: 640px) {
    .aac-executive-ops-grid {
        grid-template-columns: 1fr;
    }
}

.aac-executive-ops-mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    min-height: 0;
}

.aac-executive-ops-mini-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.aac-executive-ops-teal .aac-executive-ops-mini-icon { background: #0E8A7A; }
.aac-executive-ops-indigo .aac-executive-ops-mini-icon { background: #1E2A38; }
.aac-executive-ops-amber .aac-executive-ops-mini-icon { background: #AAB4BE; }

.aac-executive-ops-mini-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.aac-executive-ops-mini-value {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
}

.aac-executive-ops-mini-label {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

/* ----- RTL Dashboard: prevent vertical stretch (safe overrides) ----- */
.aac-executive-dashboard .aac-executive-kpi-grid {
    height: auto !important;
    min-height: 0 !important;
}
.aac-executive-dashboard .aac-executive-row-kpis {
    height: auto !important;
    min-height: 0 !important;
}
.aac-executive-dashboard .aac-executive-row {
    height: auto !important;
    min-height: 0 !important;
}

/* Micro-animation: subtle fade-in (no hidden state so layout never broken) */
.aac-executive-dashboard .aac-executive-row-kpis {
    animation: aac-executive-fadeIn 0.4s ease forwards;
}
.aac-executive-dashboard .aac-executive-row-charts {
    animation: aac-executive-fadeIn 0.4s 0.08s ease forwards;
}
.aac-executive-dashboard .aac-executive-row-ops {
    animation: aac-executive-fadeIn 0.4s 0.16s ease forwards;
}

@keyframes aac-executive-fadeIn {
    from {
        opacity: 0.7;
    }
    to {
        opacity: 1;
    }
}

/* Events Section */
/* Layout, spacing, and background controlled by theme */
.aac-agent-events-section {
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 20px 24px 24px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.aac-events-section-title {
    margin: 0 0 24px 0;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    text-align: right;
}

.aac-events-block {
    margin-bottom: 32px;
}

.aac-events-block:last-child {
    margin-bottom: 0;
}

.aac-events-block-title {
    margin: 0 0 14px 0;
    font-size: 17px;
    font-weight: 700;
    color: #475569;
    text-align: right;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.aac-events-block-empty {
    margin: 0;
    padding: 16px 0;
    font-size: 14px;
    color: #64748b;
    text-align: right;
}

/* Auctions grid layout */
.aac-events-grid-section .aac-events-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

@media (max-width: 900px) {
    .aac-events-grid-section .aac-events-grid {
        grid-template-columns: 1fr;
    }
}

.aac-events-grid-section .aac-event-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.aac-events-grid-section .aac-event-card-body {
    flex-grow: 1;
    margin-bottom: 12px;
}

.aac-events-grid-section .aac-event-card-footer {
    margin-top: auto;
}

/* Pagination RTL */
.aac-events-pagination {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.aac-pagination-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    direction: rtl;
}

.aac-pagination-list a,
.aac-pagination-list span {
    display: inline-block;
    padding: 8px 14px;
    min-width: 44px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #475569;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: background 0.2s, color 0.2s;
}

.aac-pagination-list a:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.aac-pagination-current {
    background: #1E2A38;
    color: #fff;
    border-color: #1E2A38;
}

.aac-pagination-prev,
.aac-pagination-next {
    font-weight: 600;
}

.aac-events-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    border-bottom: 2px solid #e2e8f0;
    flex-wrap: wrap;
}

.aac-events-tabs .aac-tab-button {
    text-decoration: none;
    color: inherit;
}

.aac-events-content {
    min-height: 120px;
}

.aac-events-list {
    display: grid;
    gap: 24px;
}

.aac-events-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* Event Card */
.aac-event-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-right-width: 3px;
    border-right-color: #1E2A38;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.aac-event-card:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border-right-color: #0E8A7A;
}

.aac-event-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.aac-event-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    flex-grow: 1;
}

.aac-event-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.aac-event-card-title a:hover {
    color: #0073aa;
}

.aac-event-card-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.aac-event-status-live {
    background: rgba(13, 148, 136, 0.12);
    color: #0f766e;
}

.aac-event-status-upcoming {
    background: rgba(79, 70, 229, 0.12);
    color: #4338ca;
}

.aac-event-status-ended {
    background: rgba(100, 116, 139, 0.15);
    color: #475569;
}

.aac-event-card-body {
    margin-bottom: 12px;
}

.aac-event-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #666;
}

.aac-event-location-icon {
    font-size: 18px;
}

.aac-event-dates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.aac-event-date-item {
    font-size: 14px;
}

.aac-event-date-label {
    font-weight: 500;
    color: #666;
    margin-left: 5px;
}

.aac-event-date-value {
    color: #333;
    font-weight: 600;
}

/* Event Countdown */
.aac-event-countdown {
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.aac-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
}

.aac-countdown-value {
    font-size: 22px;
    font-weight: 700;
    color: #1E2A38;
    line-height: 1.2;
}

.aac-countdown-label {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

.aac-event-attempts-count {
    padding: 10px 15px;
    background: #e3f2fd;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

.aac-attempts-count-label {
    color: #666;
    margin-left: 5px;
}

.aac-attempts-count-value {
    font-weight: 600;
    color: #1565c0;
}

.aac-event-card-footer {
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
}

.aac-event-toggle-attempts {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid #0073aa;
    color: #0073aa;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.aac-event-toggle-attempts:hover {
    background: #0073aa;
    color: #fff;
}

.aac-event-toggle-attempts.active {
    background: #0073aa;
    color: #fff;
}

.aac-event-toggle-attempts.active .aac-toggle-icon {
    transform: rotate(180deg);
}

.aac-toggle-icon {
    transition: transform 0.3s ease;
}

.aac-event-attempts-list {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aac-event-attempts-list .aac-attempt-item {
    margin-bottom: 0;
    border: 1px solid #e2e8f0;
    border-right: 4px solid #0f172a;
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.aac-event-attempts-list .aac-attempt-item:nth-child(odd) {
    background: #f8fafc;
}

.aac-event-attempts-list .aac-attempt-item:nth-child(even) {
    background: #f1f5f9;
}

.aac-event-attempts-list .aac-attempt-item:nth-child(odd):hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.aac-event-attempts-list .aac-attempt-item:nth-child(even):hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.aac-event-attempts-list .aac-attempt-item:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .aac-agents-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .aac-grid-2,
    .aac-grid-3,
    .aac-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .aac-card-image-header {
        height: 180px;
    }
    
    .aac-card-image-header .aac-placeholder-avatar {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .aac-card-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
        gap: 8px;
        min-height: auto;
    }
    
    .aac-card-title-row {
        padding: 18px 16px 16px 16px;
    }
    
    .aac-card-title {
        font-size: 17px;
    }
    
    .aac-card-label {
        margin-left: 0;
        margin-bottom: 4px;
        min-width: auto;
        font-size: 13px;
        color: #64748b;
        font-weight: 600;
        width: 100%;
    }
    
    .aac-card-value {
        text-align: right;
        width: 100%;
        font-size: 15px;
        font-weight: 700;
    }
    
    .aac-card-license-row .aac-card-value {
        font-size: 15px;
    }
    
    .aac-card-stats-row {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 10px 16px;
    }
    
    .aac-stat-item {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .aac-stat-assets .aac-stat-label,
    .aac-stat-auctions .aac-stat-label {
        font-size: 10px;
    }
    
    .aac-stat-assets .aac-stat-value,
    .aac-stat-auctions .aac-stat-value {
        font-size: 12px;
    }
    
    .aac-card-action {
        padding: 16px;
    }
    
    .aac-card-button {
        padding: 11px 18px;
        font-size: 14px;
    }
    
    .aac-profile-header-row-1 {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .aac-profile-follow-compact {
        align-self: stretch;
        align-items: center;
    }
    
    .aac-profile-follow-compact .aac-profile-followers-indicator {
        font-size: 11px;
        margin-top: 8px;
    }
    
    .aac-follow-btn-compact {
        width: 100%;
        justify-content: center;
    }
    
    .aac-profile-name-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .aac-events-tabs,
    .aac-attempts-tabs {
        flex-direction: column;
    }
    
    .aac-tab-button {
        width: 100%;
        justify-content: center;
    }
    
    .aac-attempt-details,
    .aac-event-dates {
        grid-template-columns: 1fr;
    }
    
    .aac-snapshot-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .aac-snapshot-item {
        padding: 20px 16px;
    }
    
    .aac-breadcrumb {
        margin-bottom: 20px;
        padding: 10px 0;
    }
    
    .aac-breadcrumb-list {
        font-size: 13px;
        gap: 6px;
    }
    
    .aac-breadcrumb-separator {
        margin: 0 2px;
    }
    
    .aac-event-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .aac-event-countdown {
        gap: 10px;
    }
    
    .aac-countdown-item {
        min-width: 50px;
    }
    
    .aac-countdown-value {
        font-size: 20px;
    }
}

