/* ============================================
   Owner Event Equipments — Safari Vents Compact
   Prefix: ee-
   ============================================ */

/* ── Page Shell ── */
.ee {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #2A2A2A;
    background: #f5f3ef;
    min-height: 100vh;
    padding: 1.25rem 1.5rem;
}

/* ── Page Header ── */
.ee-header {
    background: linear-gradient(135deg, #2A2A2A 0%, #3d3d3d 100%);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.ee-header-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0 0 0.125rem 0;
}
.ee-header-sub {
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
}

/* ── Buttons ── */
.ee-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}
.ee-btn-primary { background: #C87941; color: #fff; }
.ee-btn-primary:hover { background: #b36a35; color: #fff; text-decoration: none; }
.ee-btn-outline {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.15);
}
.ee-btn-outline:hover { background: rgba(255,255,255,0.18); color: #fff; text-decoration: none; }
.ee-btn-sm {
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}
.ee-btn-edit {
    background: rgba(72,140,130,0.08);
    color: #488C82;
    border: 1px solid rgba(72,140,130,0.15);
}
.ee-btn-edit:hover { background: rgba(72,140,130,0.15); border-color: #488C82; }
.ee-btn-delete {
    background: rgba(200,80,60,0.06);
    color: #c8503c;
    border: 1px solid rgba(200,80,60,0.1);
}
.ee-btn-delete:hover { background: rgba(200,80,60,0.12); border-color: #c8503c; }
.ee-btn-ghost {
    background: rgba(42,42,42,0.04);
    color: #5a5450;
    border: 1px solid rgba(158,139,99,0.15);
}
.ee-btn-ghost:hover { border-color: #9E8B63; color: #2A2A2A; }

/* ── Stats Row ── */
.ee-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.625rem;
    margin-bottom: 1rem;
}
.ee-stat {
    background: #fff;
    border: 1px solid rgba(158,139,99,0.12);
    border-radius: 12px;
    padding: 0.75rem 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.ee-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    flex-shrink: 0;
}
.ee-stat-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: #2A2A2A;
    letter-spacing: -0.02em;
    line-height: 1;
}
.ee-stat-label {
    font-size: 0.5625rem;
    color: #8a8177;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ee-icon-terracotta { background: rgba(200,121,65,0.1); color: #C87941; }
.ee-icon-teal { background: rgba(72,140,130,0.1); color: #488C82; }
.ee-icon-bronze { background: rgba(158,139,99,0.1); color: #9E8B63; }
.ee-icon-charcoal { background: rgba(42,42,42,0.06); color: #2A2A2A; }

/* ── Card Shell ── */
.ee-card {
    background: #fff;
    border: 1px solid rgba(158,139,99,0.12);
    border-radius: 14px;
    overflow: hidden;
}
.ee-card-body { padding: 1rem 1.25rem; }
.ee-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(158,139,99,0.08);
}
.ee-card-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #2A2A2A;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.ee-card-count {
    font-size: 0.5625rem;
    font-weight: 600;
    color: #8a8177;
    background: rgba(42,42,42,0.04);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

/* ── Equipment Grid ── */
.ee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
    padding: 1rem 1.25rem;
}

/* ── Equipment Item ── */
.ee-item {
    background: #fff;
    border: 1px solid rgba(158,139,99,0.12);
    border-radius: 12px;
    padding: 0.875rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ee-item:hover {
    border-color: rgba(158,139,99,0.25);
    box-shadow: 0 2px 8px rgba(42,42,42,0.06);
}

/* Item Header */
.ee-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.ee-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* Badges */
.ee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.1875rem;
    font-size: 0.5625rem;
    font-weight: 600;
    padding: 0.1875rem 0.4375rem;
    border-radius: 5px;
    letter-spacing: 0.01em;
}
.ee-badge-approved { background: rgba(72,140,130,0.1); color: #488C82; }
.ee-badge-pending { background: rgba(200,160,40,0.1); color: #a08520; }
.ee-badge-category {
    background: rgba(158,139,99,0.08);
    color: #8a8177;
    font-size: 0.5625rem;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    margin-bottom: 0.375rem;
    display: inline-block;
}

/* Item Name */
.ee-item-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #2A2A2A;
    margin: 0 0 0.1875rem 0;
    letter-spacing: -0.01em;
}

/* Item Description */
.ee-item-desc {
    font-size: 0.625rem;
    color: #8a8177;
    line-height: 1.5;
    margin-bottom: 0.625rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price & Quantity Row */
.ee-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.625rem;
    padding-top: 0.375rem;
    border-top: 1px solid rgba(158,139,99,0.08);
}
.ee-price {
    font-size: 0.875rem;
    font-weight: 800;
    color: #C87941;
    letter-spacing: -0.02em;
}
.ee-price-unit {
    font-size: 0.5625rem;
    color: #8a8177;
    font-weight: 400;
}
.ee-qty {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.1875rem 0.4375rem;
    border-radius: 5px;
}
.ee-qty-available { background: rgba(72,140,130,0.08); color: #488C82; }
.ee-qty-unavailable { background: rgba(200,80,60,0.06); color: #c8503c; }

/* Item Actions */
.ee-item-actions {
    display: flex;
    gap: 0.375rem;
}
.ee-item-actions .ee-btn { flex: 1; justify-content: center; }

/* ── Empty State ── */
.ee-empty {
    text-align: center;
    padding: 2rem 1rem;
}
.ee-empty-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(158,139,99,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #9E8B63;
    margin-bottom: 0.75rem;
}
.ee-empty-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #2A2A2A;
    margin-bottom: 0.25rem;
}
.ee-empty-text {
    font-size: 0.6875rem;
    color: #8a8177;
    margin-bottom: 0.875rem;
}

/* ── Loading State ── */
.ee-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1rem;
}
.ee-loading i {
    font-size: 1.25rem;
    color: #C87941;
    animation: ee-spin 1s linear infinite;
    margin-bottom: 0.5rem;
}
.ee-loading p {
    font-size: 0.6875rem;
    color: #8a8177;
    margin: 0;
}
@keyframes ee-spin { to { transform: rotate(360deg); } }

/* ── Responsive ── */
@media (max-width: 992px) {
    .ee-stats { grid-template-columns: repeat(2, 1fr); }
    .ee-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 768px) {
    .ee { padding: 0.75rem; }
    .ee-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .ee-stats { grid-template-columns: 1fr 1fr; }
    .ee-grid { grid-template-columns: 1fr; padding: 0.75rem; }
}
