/* ===============================================
   LE MIE LIVE - DASHBOARD CLIENTE
   Design minimal e professionale
   =============================================== */

/* TAB NAVIGATION */
.tabs-navigation {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 0;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.tab-btn:hover {
    color: var(--color-primary);
    background: rgba(45, 90, 61, 0.05);
}

.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* TAB CONTENT */
.tabs-content {
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

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

/* PAGE HEADER */
.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.page-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* CARD HEADER */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.count-badge {
    font-size: 12px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

/* LIVE LIST */
.live-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* LIVE CARD */
.live-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.live-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* LIVE IMAGE */
.live-card-image {
    width: 140px;
    height: 105px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: #f3f4f6;
}

.live-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #dc2626;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* LIVE CONTENT */
.live-card-content {
    flex: 1;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.live-card-header {
    margin-bottom: 8px;
}

.live-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.live-professional {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.live-professional-name {
    font-weight: 500;
    color: #374151;
}

.live-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.live-date,
.live-duration {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.live-date svg,
.live-duration svg {
    flex-shrink: 0;
}

/* LIVE ACTIONS */
.live-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.btn-stream,
.btn-cancel,
.btn-details {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-stream {
    background: #dc2626;
    color: #ffffff;
}

.btn-stream:hover {
    background: #b91c1c;
}

.btn-stream:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
}

.btn-details {
    background: #f3f4f6;
    color: #374151;
}

.btn-details:hover {
    background: #e5e7eb;
}

.btn-cancel {
    background: #ef4444;
    color: white;
    margin-left: auto;
}

.btn-cancel:hover {
    background: #dc2626;
}

/* STATUS BADGES */
.status-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}

.status-badge.upcoming {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.live-now {
    background: #dcfce7;
    color: #15803d;
}

.status-badge.ended {
    background: #f3f4f6;
    color: #6b7280;
}

.status-badge.cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state svg {
    width: 64px;
    height: 64px;
    color: #d1d5db;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
}

.empty-state p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px 0;
}

.btn-browse {
    display: inline-block;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-browse:hover {
    background: #1f2937;
}

/* LOADING STATE */
.loading-state {
    text-align: center;
    padding: 48px 24px;
}

.loading-state p {
    font-size: 14px;
    color: #6b7280;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .live-card {
        flex-direction: column;
    }

    .live-card-image {
        width: 100%;
        height: 180px;
    }

    .live-card-actions {
        flex-wrap: wrap;
    }

    .btn-cancel {
        margin-left: 0;
        width: 100%;
    }
}
