/**
 * UL Commercial Spaces - Styles
 * Powder blue theme with dark admin panel
 */

/* ========================================
   GLOBAL & LAYOUT
======================================== */

.ul-com-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #ffffff;
}

/* ========================================
   PORTFOLIO SNAPSHOT BAR (Powder Blue)
======================================== */

.ul-com-portfolio-snapshot {
    background: linear-gradient(135deg, #dbeafe 0%, #e0f0fb 60%, #cfe8f8 100%);
    border: 1px solid #b6d9f5;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.08);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
}

.ul-com-portfolio-snapshot h1 {
    color: #1e3a5f;
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 24px 0;
}

.ul-com-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
}

.ul-com-stat {
    text-align: center;
}

.ul-com-stat-value {
    color: #1e3a5f;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ul-com-stat-label {
    color: #5b8ab5;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   BUTTONS
======================================== */

.ul-com-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.ul-com-btn-primary {
    background: #2563eb;
    color: white;
}

.ul-com-btn-primary:hover {
    background: #1d4ed8;
}

.ul-com-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.ul-com-btn-secondary:hover {
    background: #e2e8f0;
}

.ul-com-btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.ul-com-btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.ul-com-btn-icon:hover {
    opacity: 1;
}

.ul-com-icon {
    font-size: 18px;
    line-height: 1;
}

.ul-com-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

/* ========================================
   PROPERTY CARDS
======================================== */

.ul-com-property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.ul-com-property-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s, transform 0.2s;
}

.ul-com-property-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.ul-com-property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.ul-com-property-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
}

.ul-com-property-address {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.ul-com-property-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.ul-com-property-stat {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.ul-com-property-stat .label {
    color: #64748b;
}

.ul-com-property-stat .value {
    color: #1e293b;
    font-weight: 600;
}

.ul-com-property-actions {
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

/* ========================================
   BADGES
======================================== */

.ul-com-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ul-com-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

/* ========================================
   EMPTY STATE
======================================== */

.ul-com-empty-state {
    text-align: center;
    padding: 64px 24px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
}

.ul-com-empty-state h2 {
    color: #334155;
    margin-bottom: 12px;
}

.ul-com-empty-state p {
    color: #64748b;
    margin-bottom: 24px;
}

/* ========================================
   FORMS
======================================== */

.ul-com-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ul-com-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.ul-com-header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    color: #1e293b;
}

.ul-com-form-section {
    margin-bottom: 32px;
}

.ul-com-form-section h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.ul-com-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.ul-com-form-group {
    display: flex;
    flex-direction: column;
}

.ul-com-form-group-full {
    grid-column: 1 / -1;
}

.ul-com-form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 6px;
}

.ul-com-form-group input,
.ul-com-form-group select,
.ul-com-form-group textarea {
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.ul-com-form-group input:focus,
.ul-com-form-group select:focus,
.ul-com-form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.ul-com-form-actions {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

/* ========================================
   PROPERTY DETAIL
======================================== */

.ul-com-property-detail-header {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ul-com-property-detail-header h1 {
    margin: 8px 0;
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
}

.ul-com-back-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.ul-com-back-link:hover {
    text-decoration: underline;
}

.ul-com-property-meta {
    text-align: right;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================
   TABS
======================================== */

.ul-com-tabs {
    display: flex;
    gap: 4px;
    background: #f8fafc;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.ul-com-tab {
    position: relative;
    padding: 12px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ul-com-tab:hover {
    background: white;
    color: #334155;
}

.ul-com-tab.active {
    background: white;
    color: #2563eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ul-com-tab-panel {
    display: none;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.ul-com-tab-panel.active {
    display: block;
}

.ul-com-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.ul-com-panel-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
}

/* ========================================
   TABLE
======================================== */

.ul-com-table {
    width: 100%;
    border-collapse: collapse;
}

.ul-com-table thead {
    background: #f8fafc;
}

.ul-com-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.ul-com-table td {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #334155;
}

.ul-com-table tbody tr:hover {
    background: #f8fafc;
}

/* ========================================
   ADMIN PANEL (Dark Theme)
======================================== */

.ul-com-admin-wrapper {
    background: #1a1a2e;
    border-radius: 12px;
    padding: 32px;
    margin-top: 32px;
}

.ul-com-admin-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 3px solid rgba(170, 221, 255, 0.3);
}

.ul-com-admin-section:last-child {
    border-bottom: none;
}

.ul-com-admin-section h2 {
    color: #AADDFF;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.ul-com-admin-chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.ul-com-admin-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(170, 221, 255, 0.2);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.ul-com-admin-chip .label {
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ul-com-admin-chip .value {
    color: #AADDFF;
    font-size: 24px;
    font-weight: 600;
}

.ul-com-admin-chip .value.positive {
    color: #86efac;
}

.ul-com-admin-chip .value.negative {
    color: #f87171;
}

.ul-com-admin-property {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.ul-com-admin-property h3 {
    color: #AADDFF;
    font-size: 18px;
    margin: 0 0 12px 0;
}

.ul-com-admin-property-stats {
    display: flex;
    gap: 32px;
    font-size: 14px;
}

.ul-com-admin-property-stats .label {
    color: #888;
}

.ul-com-admin-property-stats .value {
    color: #AADDFF;
    font-weight: 600;
}

.ul-com-admin-property-stats .value.positive {
    color: #86efac;
}

/* ========================================
   UL BRAND BADGE (Silver Metal)
======================================== */

.ul-com-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #f5f5f5 0%, #d9d9d9 100%);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 8px 16px;
    margin-bottom: 24px;
}

.ul-com-brand-badge span {
    color: #1a1a2e;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   HELP DRAWER SYSTEM
======================================== */

/* Help FAB (Floating Action Button) */
.ul-com-help-fab {
    position: fixed;
    bottom: 88px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f5f5f5 0%, #d9d9d9 100%);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    border-left: none;
    border-right: none;
    color: #1a1a2e;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    z-index: 999;
    transition: all 0.2s;
}

.ul-com-help-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Contextual help icons inline */
.ul-com-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f5f5f5 0%, #d9d9d9 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    color: #1a1a2e;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 8px;
}

.ul-com-help-icon:hover {
    transform: scale(1.15);
}

/* Help Overlay */
.ul-com-help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.ul-com-help-overlay.ul-com-help-open {
    opacity: 1;
    pointer-events: auto;
}

/* Help Drawer */
.ul-com-help-drawer {
    position: fixed;
    top: 0;
    right: -700px;
    width: 700px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease-out;
}

.ul-com-help-drawer.ul-com-help-open {
    right: 0;
}

/* Help Header (Dark) */
.ul-com-help-header {
    background: #0f172a;
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ul-com-help-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ul-com-help-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.ul-com-help-header p {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
}

.ul-com-help-close {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.ul-com-help-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Help Body */
.ul-com-help-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Left Navigation */
.ul-com-help-nav {
    width: 175px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    overflow-y: auto;
    padding: 12px 0;
}

.ul-com-help-nav-item {
    width: 100%;
    padding: 10px 20px;
    text-align: left;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.ul-com-help-nav-item:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.ul-com-help-nav-item.active {
    background: white;
    color: #2563eb;
    border-left-color: #2563eb;
}

/* Content Pane */
.ul-com-help-content-pane {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

.ul-com-help-topic {
    display: none;
}

.ul-com-help-topic.active {
    display: block;
}

.ul-com-help-topic h3 {
    margin: 0 0 24px 0;
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
}

.ul-com-help-topic h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

/* Help Cards */
.ul-com-help-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.ul-com-help-card p {
    margin: 0 0 12px 0;
    line-height: 1.6;
    color: #334155;
}

.ul-com-help-card p:last-child {
    margin-bottom: 0;
}

.ul-com-help-card ul,
.ul-com-help-card ol {
    margin: 0 0 12px 0;
    padding-left: 24px;
    line-height: 1.8;
    color: #334155;
}

.ul-com-help-card ul:last-child,
.ul-com-help-card ol:last-child {
    margin-bottom: 0;
}

.ul-com-help-card li {
    margin-bottom: 8px;
}

.ul-com-help-card strong {
    color: #1e293b;
}

/* Blue Tip Box */
.ul-com-help-tip {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #1e40af;
}

.ul-com-help-tip strong {
    color: #1e3a8a;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ul-com-help-drawer {
        width: 100%;
        right: -100%;
    }
    
    .ul-com-help-nav {
        width: 140px;
    }
    
    .ul-com-help-nav-item {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .ul-com-help-content-pane {
        padding: 20px;
    }
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 768px) {
    .ul-com-wrapper {
        padding: 16px;
    }
    
    .ul-com-portfolio-snapshot {
        padding: 20px;
    }
    
    .ul-com-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .ul-com-property-grid {
        grid-template-columns: 1fr;
    }
    
    .ul-com-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .ul-com-table {
        display: block;
        overflow-x: auto;
    }
}

/* ========================================
   VIEW SWITCHING & ANIMATIONS
======================================== */

.ul-com-app {
    position: relative;
    min-height: 400px;
}

.ul-com-view {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ul-com-view.active {
    opacity: 1;
    pointer-events: auto;
}

#ul-com-property-list-view {
    position: relative;
}

#ul-com-property-detail-view {
    position: relative;
}

/* ========================================
   PROPERTY DETAIL VIEW
======================================== */

.ul-com-property-detail {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ul-com-property-detail-header {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.ul-com-property-detail-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.ul-com-property-detail-title h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
}

.ul-com-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.ul-com-back-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.ul-com-property-meta {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================
   LOADING SPINNER
======================================== */

.ul-com-property-detail-loading {
    text-align: center;
    padding: 80px 24px;
}

.ul-com-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border: 4px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.ul-com-property-detail-loading p {
    color: #64748b;
    font-size: 16px;
}

/* ========================================
   ERROR STATE
======================================== */

.ul-com-error {
    text-align: center;
    padding: 60px 24px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    margin: 24px;
}

.ul-com-error p {
    color: #991b1b;
    margin-bottom: 20px;
}

/* ========================================
   MODAL SYSTEM
======================================== */

.ul-com-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ul-com-modal-overlay.active {
    display: block;
    opacity: 1;
}

.ul-com-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 10001;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
    max-height: 90vh;
    overflow: auto;
}

.ul-com-modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.ul-com-modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 600px;
    max-width: 90vw;
}

.ul-com-modal-small .ul-com-modal-content {
    width: 400px;
}

.ul-com-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.ul-com-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
}

.ul-com-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.ul-com-modal-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.ul-com-modal-body {
    padding: 24px;
    max-height: calc(90vh - 160px);
    overflow-y: auto;
}

.ul-com-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
}

/* ========================================
   BUTTONS (ADDITIONAL VARIANTS)
======================================== */

.ul-com-btn-danger {
    background: #dc2626;
    color: white;
}

.ul-com-btn-danger:hover {
    background: #b91c1c;
}

/* ========================================
   NOTIFICATION TOAST
======================================== */

.ul-com-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10002;
    min-width: 300px;
    max-width: 500px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateX(600px);
    transition: transform 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.ul-com-notification.show {
    transform: translateX(0);
}

.ul-com-notification.success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.ul-com-notification.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* ========================================
   FORM IMPROVEMENTS
======================================== */

.ul-com-form-group input:focus,
.ul-com-form-group select:focus,
.ul-com-form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.ul-com-form-group input[disabled],
.ul-com-form-group select[disabled],
.ul-com-form-group textarea[disabled] {
    background: #f1f5f9;
    cursor: not-allowed;
}

/* ========================================
   LOADING STATE
======================================== */

.ul-com-btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.ul-com-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

/* ========================================
   MOBILE RESPONSIVE
======================================== */

@media (max-width: 768px) {
    .ul-com-modal-content {
        width: 95vw;
        max-height: 95vh;
    }
    
    .ul-com-modal {
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .ul-com-modal.active {
        transform: translate(-50%, -50%);
    }
    
    .ul-com-modal-body {
        max-height: calc(95vh - 160px);
    }
    
    .ul-com-notification {
        right: 12px;
        left: 12px;
        min-width: auto;
    }
}

/* ========================================
   TENANT CARDS
======================================== */

.ul-com-tenant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ul-com-tenant-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.ul-com-tenant-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.ul-com-tenant-card-header {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.ul-com-tenant-card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
}

.ul-com-entity-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #2563eb;
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.ul-com-tenant-card-body {
    padding: 20px;
}

.ul-com-tenant-info-row {
    padding: 8px 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.ul-com-tenant-info-row strong {
    color: #1e293b;
}

.ul-com-tenant-guarantee {
    margin-top: 16px;
    padding: 12px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.ul-com-tenant-leases {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
    line-height: 1.8;
}

.ul-com-tenant-leases strong {
    color: #1e293b;
}

.ul-com-tenant-card-footer {
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 8px;
}

@media (max-width: 768px) {
    .ul-com-tenant-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   TRANSACTION STYLES
======================================== */

.ul-com-transaction-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ul-com-transaction-income {
    background: #dcfce7;
    color: #166534;
}

.ul-com-transaction-expense {
    background: #fee2e2;
    color: #991b1b;
}

.ul-com-amount-cell {
    text-align: right;
}

.ul-com-amount {
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.ul-com-amount.positive {
    color: #16a34a;
}

.ul-com-amount.negative {
    color: #dc2626;
}

/* ========================================

.ul-com-admin-container {
    background: #0f172a;
    min-height: 100vh;
    padding: 40px 20px;
    color: #e2e8f0;
}

.ul-com-admin-header {
    max-width: 1400px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ul-com-admin-header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
}

.ul-com-admin-subtitle {
    margin: 8px 0 0 0;
    font-size: 16px;
    color: #94a3b8;
}

.ul-com-btn-light {
    background: #1e293b;
    color: #e2e8f0;
    border: 1px solid #334155;
}

.ul-com-btn-light:hover {
    background: #334155;
}


.ul-com-stats-grid {
    max-width: 1400px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ul-com-stat-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
}

.ul-com-stat-card:hover {
    background: #27374d;
    border-color: #475569;
    transform: translateY(-2px);
}

.ul-com-stat-icon {
    font-size: 32px;
    line-height: 1;
}

.ul-com-stat-content {
    flex: 1;
}

.ul-com-stat-label {
    font-size: 13px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ul-com-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}


.ul-com-premium-gate {
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 2px solid #fbbf24;
    border-radius: 16px;
    padding: 48px;
}

.ul-com-premium-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
}

.ul-com-premium-icon {
    font-size: 48px;
    line-height: 1;
}

.ul-com-premium-header h2 {
    margin: 0 0 8px 0;
    font-size: 32px;
    color: #ffffff;
}

.ul-com-premium-header p {
    margin: 0;
    font-size: 18px;
    color: #cbd5e1;
}

.ul-com-premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.ul-com-premium-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.ul-com-feature-icon {
    font-size: 28px;
    line-height: 1;
}

.ul-com-premium-feature strong {
    display: block;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 4px;
}

.ul-com-premium-feature p {
    margin: 0;
    font-size: 14px;
    color: #94a3b8;
}

.ul-com-premium-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}

.ul-com-btn-premium {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 18px;
    padding: 16px 32px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.ul-com-btn-premium:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
}

.ul-com-btn-combo {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    font-size: 18px;
    padding: 16px 32px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.3);
}

.ul-com-btn-combo:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(245, 158, 11, 0.4);
}

.ul-com-premium-note {
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

.ul-com-premium-note strong {
    color: #fbbf24;
}


.ul-com-premium-active {
    max-width: 1400px;
    margin: 0 auto 40px;
}

.ul-com-premium-badge-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.ul-com-premium-badge-lg {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.ul-com-membership-info {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}


.ul-com-premium-sections {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.ul-com-admin-section {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    overflow: hidden;
}

.ul-com-section-header {
    padding: 24px 32px;
    background: linear-gradient(135deg, #1e293b 0%, #27374d 100%);
    border-bottom: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.ul-com-section-header h2 {
    margin: 0;
    font-size: 24px;
    color: #ffffff;
}

.ul-com-section-desc {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #94a3b8;
}

.ul-com-premium-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ul-com-section-content {
    padding: 32px;
    color: #cbd5e1;
}


.ul-com-quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.ul-com-quick-stat {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ul-com-quick-stat .ul-com-stat-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ul-com-quick-stat .ul-com-stat-value {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.ul-com-quick-stat .ul-com-stat-value.positive {
    color: #10b981;
}

.ul-com-quick-stat .ul-com-stat-value.negative {
    color: #ef4444;
}

======================================== */

@media (max-width: 768px) {
    .ul-com-admin-container {
        padding: 20px 16px;
    }
    
    .ul-com-admin-header h1 {
        font-size: 24px;
    }
    
    .ul-com-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .ul-com-premium-gate {
        padding: 32px 24px;
    }
    
    .ul-com-premium-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .ul-com-premium-features {
        grid-template-columns: 1fr;
    }
    
    .ul-com-premium-actions {
        flex-direction: column;
    }
    
    .ul-com-btn-premium,
    .ul-com-btn-combo {
        width: 100%;
    }
}

/* ========================================

.ul-com-admin-container {
    background: #f8fafc;
    min-height: 100vh;
    padding: 0;
}

.ul-com-admin-header {
    background: #1e293b;
    padding: 32px 40px;
    border-bottom: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ul-com-admin-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.ul-com-admin-subtitle {
    margin: 8px 0 0 0;
    font-size: 15px;
    color: #94a3b8;
}

.ul-com-btn-light {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ul-com-btn-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Content Area */
.ul-com-admin-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}


.ul-com-stats-grid {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 40px 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ul-com-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ul-com-stat-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.ul-com-stat-icon {
    font-size: 32px;
    line-height: 1;
}

.ul-com-stat-content {
    flex: 1;
}

.ul-com-stat-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.ul-com-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
}


.ul-com-premium-gate {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.ul-com-premium-gate > div {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: 16px;
    padding: 48px;
}

.ul-com-premium-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
}

.ul-com-premium-icon {
    font-size: 48px;
    line-height: 1;
}

.ul-com-premium-header h2 {
    margin: 0 0 8px 0;
    font-size: 32px;
    color: #1e293b;
}

.ul-com-premium-header p {
    margin: 0;
    font-size: 18px;
    color: #78350f;
}

.ul-com-premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.ul-com-premium-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.ul-com-feature-icon {
    font-size: 28px;
    line-height: 1;
}

.ul-com-premium-feature strong {
    display: block;
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 4px;
}

.ul-com-premium-feature p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.ul-com-premium-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}

.ul-com-btn-premium {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 18px;
    padding: 16px 32px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.ul-com-btn-premium:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
}

.ul-com-btn-combo {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 18px;
    padding: 16px 32px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(217, 119, 6, 0.3);
}

.ul-com-btn-combo:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(217, 119, 6, 0.4);
}

.ul-com-premium-note {
    text-align: center;
    color: #78350f;
    font-size: 14px;
}

.ul-com-premium-note strong {
    color: #92400e;
}


.ul-com-premium-active {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 0;
}

.ul-com-premium-badge-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
}

.ul-com-premium-badge-lg {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.ul-com-membership-info {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}


.ul-com-premium-sections {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    gap: 24px;
}

.ul-com-admin-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ul-com-section-header {
    padding: 24px 32px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.ul-com-section-header h2 {
    margin: 0;
    font-size: 24px;
    color: #1e293b;
}

.ul-com-section-desc {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #64748b;
}

.ul-com-premium-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ul-com-section-content {
    padding: 32px;
    color: #475569;
}


.ul-com-quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.ul-com-quick-stat {
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ul-com-quick-stat .ul-com-stat-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.ul-com-quick-stat .ul-com-stat-value {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.ul-com-quick-stat .ul-com-stat-value.positive {
    color: #10b981;
}

.ul-com-quick-stat .ul-com-stat-value.negative {
    color: #ef4444;
}

   RESPONSIVE
======================================== */

@media (max-width: 768px) {
    .ul-com-admin-header {
        padding: 24px 20px;
    }
    
    .ul-com-admin-header h1 {
        font-size: 24px;
    }
    
    .ul-com-stats-grid,
    .ul-com-premium-active,
    .ul-com-premium-sections {
        padding: 20px;
    }
    
    .ul-com-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .ul-com-premium-gate > div {
        padding: 32px 24px;
    }
    
    .ul-com-premium-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .ul-com-premium-features {
        grid-template-columns: 1fr;
    }
    
    .ul-com-premium-actions {
        flex-direction: column;
    }
    
    .ul-com-btn-premium,
    .ul-com-btn-combo {
        width: 100%;
    }
}

/* ========================================
   ADMIN PAGE - MATCHING VACATION RENTAL
======================================== */

.ul-com-admin-container {
    background: #f8fafc;
    min-height: 100vh;
    padding: 40px 20px;
}

.ul-com-admin-wrapper {
    max-width: 1300px;
    margin: 0 auto;
}

/* Dark Navy Header Card (matches vacation rental) */
.ul-com-admin-header {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
    border: none;
}

.ul-com-admin-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.ul-com-admin-header h1 {
    margin: 0 0 4px 0;
    color: #AADDFF;
    font-size: 28px;
    font-weight: 700;
}

.ul-com-admin-subtitle {
    margin: 0;
    color: #888;
    font-size: 14px;
}

.ul-com-btn-light {
    background: rgba(255, 255, 255, 0.1);
    color: #AADDFF;
    border: 1px solid rgba(170, 221, 255, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.ul-com-btn-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #AADDFF;
}

/* ========================================
   STATS CARDS - Inside Dark Header
======================================== */

.ul-com-stats-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ul-com-stat-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(170,221,255,0.15);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 180px;
    transition: all 0.2s;
}

.ul-com-stat-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(170,221,255,0.25);
}

.ul-com-stat-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.ul-com-stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ul-com-stat-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.ul-com-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #AADDFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================
   PREMIUM GATE (UPGRADE PROMPT)
======================================== */

.ul-com-premium-gate {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 24px;
}

.ul-com-premium-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
}

.ul-com-premium-icon {
    font-size: 48px;
    line-height: 1;
}

.ul-com-premium-header h2 {
    margin: 0 0 8px 0;
    font-size: 32px;
    color: #1e293b;
}

.ul-com-premium-header p {
    margin: 0;
    font-size: 18px;
    color: #78350f;
}

.ul-com-premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.ul-com-premium-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.ul-com-feature-icon {
    font-size: 28px;
    line-height: 1;
}

.ul-com-premium-feature strong {
    display: block;
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 4px;
}

.ul-com-premium-feature p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.ul-com-premium-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}

.ul-com-btn-premium {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 18px;
    padding: 16px 32px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.ul-com-btn-premium:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
}

.ul-com-btn-combo {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 18px;
    padding: 16px 32px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(217, 119, 6, 0.3);
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.ul-com-btn-combo:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(217, 119, 6, 0.4);
}

.ul-com-premium-note {
    text-align: center;
    color: #78350f;
    font-size: 14px;
}

.ul-com-premium-note strong {
    color: #92400e;
}

/* ========================================
   PREMIUM ACTIVE BADGE
======================================== */

.ul-com-premium-active {
    margin-bottom: 24px;
}

.ul-com-premium-badge-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
}

.ul-com-premium-badge-lg {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.ul-com-membership-info {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   PREMIUM SECTIONS
======================================== */

.ul-com-premium-sections {
    display: grid;
    gap: 24px;
}

.ul-com-admin-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ul-com-section-header {
    padding: 24px 32px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.ul-com-section-header h2 {
    margin: 0;
    font-size: 24px;
    color: #1e293b;
}

.ul-com-section-desc {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #64748b;
}

.ul-com-premium-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ul-com-section-content {
    padding: 32px;
    color: #475569;
}

/* ========================================
   QUICK STATS
======================================== */

.ul-com-quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.ul-com-quick-stat {
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ul-com-quick-stat .ul-com-stat-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.ul-com-quick-stat .ul-com-stat-value {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.ul-com-quick-stat .ul-com-stat-value.positive {
    color: #10b981;
}

.ul-com-quick-stat .ul-com-stat-value.negative {
    color: #ef4444;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {
    .ul-com-admin-container {
        padding: 20px 16px;
    }
    
    .ul-com-admin-header {
        padding: 20px;
    }
    
    .ul-com-admin-header h1 {
        font-size: 24px;
    }
    
    .ul-com-stats-grid {
        flex-direction: column;
    }
    
    .ul-com-stat-card {
        min-width: 100%;
    }
    
    .ul-com-premium-gate {
        padding: 32px 24px;
    }
    
    .ul-com-premium-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .ul-com-premium-features {
        grid-template-columns: 1fr;
    }
    
    .ul-com-premium-actions {
        flex-direction: column;
    }
    
    .ul-com-btn-premium,
    .ul-com-btn-combo {
        width: 100%;
    }
}
