/* 
 * Vidoopubs - Panel de Gestión
 * Estilos principales
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --blue-500: #3b82f6;
    --violet-500: #8b5cf6;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --red-400: #f87171;
    --red-500: #ef4444;
    --pink-500: #ec4899;
    --green-500: #22c55e;
    --orange-500: #f97316;
    --rose-500: #f43f5e;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--slate-900);
    color: white;
    min-height: 100vh;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(51, 65, 85, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.5);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.7);
}

/* Utilidades de gradiente */
.gradient-text {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--cyan-500) 0%, var(--blue-500) 100%);
}

.gradient-bg-hover:hover {
    opacity: 0.9;
}

/* Glass effect */
.glass-effect {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: 
        radial-gradient(ellipse at top left, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        var(--slate-900);
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--slate-700);
    border-radius: 1.5rem;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.login-logo-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--cyan-400) 0%, var(--blue-500) 50%, var(--violet-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.login-logo-text h1 {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.025em;
}

.login-logo-text p {
    font-size: 0.75rem;
    color: var(--slate-500);
}

.login-title {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-title p {
    color: var(--slate-400);
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-300);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--slate-900);
    border: 1px solid var(--slate-700);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-input::placeholder {
    color: var(--slate-500);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--cyan-500) 0%, var(--blue-500) 100%);
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--slate-700);
    color: white;
    border: 1px solid var(--slate-600);
}

.btn-secondary:hover {
    background: var(--slate-600);
}

.btn-ghost {
    background: transparent;
    color: var(--slate-300);
}

.btn-ghost:hover {
    color: white;
    background: rgba(51, 65, 85, 0.5);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--red-400);
    padding: 0.875rem;
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    text-align: center;
}

.login-footer {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--slate-700);
}

.login-footer p {
    font-size: 0.75rem;
    color: var(--slate-500);
}

.login-footer a {
    color: var(--cyan-400);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Layout Principal */
.layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 288px;
    background: rgba(15, 23, 42, 0.95);
    border-right: 1px solid var(--slate-800);
    display: flex;
    flex-direction: column;
    z-index: 50;
    transition: width 0.3s;
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--slate-800);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--cyan-400) 0%, var(--blue-500) 50%, var(--violet-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.sidebar-logo-text h1 {
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.025em;
}

.sidebar-logo-text p {
    font-size: 0.75rem;
    color: var(--slate-500);
}

.sidebar.collapsed .sidebar-logo-text {
    display: none;
}

.sidebar-nav {
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: var(--slate-400);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.25rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.nav-item:hover {
    color: white;
    background: rgba(51, 65, 85, 0.5);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    color: var(--cyan-400);
    border-color: rgba(6, 182, 212, 0.3);
}

.nav-item svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.nav-item .badge {
    margin-left: auto;
    background: var(--cyan-500);
    color: var(--slate-900);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

.sidebar.collapsed .nav-item span:not(.badge) {
    display: none;
}

.sidebar.collapsed .nav-item .badge {
    display: none;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--slate-800);
}

.user-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(51, 65, 85, 0.5);
    border-radius: 0.75rem;
}

.user-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-info p {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info span {
    font-size: 0.75rem;
    color: var(--slate-500);
}

.sidebar.collapsed .user-info {
    display: none;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 288px;
    transition: margin-left 0.3s;
}

.sidebar.collapsed + .main-content {
    margin-left: 80px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--slate-800);
    padding: 1rem 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-title h2 {
    font-size: 1.25rem;
    font-weight: 700;
}

.header-title p {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    position: relative;
}

.search-box svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: var(--slate-500);
}

.search-box input {
    width: 256px;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid var(--slate-700);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
    font-family: inherit;
}

.search-box input:focus {
    outline: none;
    border-color: rgba(6, 182, 212, 0.5);
}

.search-box input::placeholder {
    color: var(--slate-500);
}

.icon-btn {
    position: relative;
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    color: var(--slate-400);
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn:hover {
    background: var(--slate-800);
    color: white;
}

.icon-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-btn .notification-dot {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--cyan-500);
    border-radius: 9999px;
}

/* Content Area */
.content {
    padding: 2rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 1280px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.stat-card {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: rgba(100, 116, 139, 0.5);
}

.stat-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.stat-card-icon {
    padding: 0.75rem;
    border-radius: 0.75rem;
}

.stat-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.stat-card-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.stat-card-change.up {
    color: var(--emerald-400);
}

.stat-card-change.down {
    color: var(--red-400);
}

.stat-card-change svg {
    width: 1rem;
    height: 1rem;
}

.stat-card-body {
    margin-top: 1rem;
}

.stat-card-body p {
    font-size: 0.875rem;
    color: var(--slate-400);
    font-weight: 500;
}

.stat-card-body h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 0.25rem;
    letter-spacing: -0.025em;
}

/* Cards */
.card {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 1rem;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--slate-700);
}

.card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.card-header a {
    color: var(--cyan-400);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.card-header a:hover {
    color: var(--cyan-300);
}

.card-body {
    padding: 1.5rem;
}

/* Publisher Row */
.publisher-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.publisher-row:hover {
    background: rgba(15, 23, 42, 0.8);
}

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

.publisher-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.publisher-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--slate-700) 0%, var(--slate-800) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.publisher-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--slate-400);
}

.publisher-details h4 {
    font-weight: 500;
}

.publisher-details p {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.publisher-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.publisher-views {
    text-align: right;
}

.publisher-views p {
    font-size: 0.875rem;
    font-weight: 500;
}

.publisher-views span {
    font-size: 0.75rem;
    color: var(--slate-500);
}

/* Status Badge */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--emerald-400);
    border-color: rgba(16, 185, 129, 0.3);
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.2);
    color: var(--amber-400);
    border-color: rgba(245, 158, 11, 0.3);
}

.status-badge.negotiating {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
}

.status-badge.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: var(--red-400);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: white;
}

.quick-action-btn.primary {
    background: linear-gradient(135deg, var(--cyan-500) 0%, var(--blue-500) 100%);
    border: none;
}

.quick-action-btn.primary:hover {
    opacity: 0.9;
}

.quick-action-btn.secondary {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(100, 116, 139, 0.5);
}

.quick-action-btn.secondary:hover {
    background: var(--slate-700);
}

.quick-action-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Progress Bar */
.progress-item {
    margin-bottom: 1rem;
}

.progress-item:last-child {
    margin-bottom: 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.progress-header span:first-child {
    color: var(--slate-400);
}

.progress-header span:last-child {
    font-weight: 500;
}

.progress-bar {
    height: 0.5rem;
    background: var(--slate-700);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 9999px;
}

.progress-fill.cyan {
    background: linear-gradient(90deg, var(--cyan-500) 0%, var(--blue-500) 100%);
}

.progress-fill.emerald {
    background: linear-gradient(90deg, var(--emerald-500) 0%, var(--green-500) 100%);
}

/* Table */
.table-container {
    overflow-x: auto;
}

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

.data-table th {
    text-align: left;
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-400);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.data-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

.data-table tr {
    transition: background 0.2s;
}

.data-table tbody tr:hover {
    background: rgba(51, 65, 85, 0.5);
}

.data-table tbody tr {
    cursor: pointer;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: var(--slate-700);
}

.filter-btn svg {
    width: 1rem;
    height: 1rem;
}

.filter-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tag.active-tag {
    background: rgba(16, 185, 129, 0.2);
    color: var(--emerald-400);
}

.filter-tag.active-tag:hover {
    background: rgba(16, 185, 129, 0.3);
}

.filter-tag.pending-tag {
    background: rgba(245, 158, 11, 0.2);
    color: var(--amber-400);
}

.filter-tag.pending-tag:hover {
    background: rgba(245, 158, 11, 0.3);
}

.filter-tag.negotiating-tag {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.filter-tag.negotiating-tag:hover {
    background: rgba(59, 130, 246, 0.3);
}

.filter-tag.rejected-tag {
    background: rgba(239, 68, 68, 0.2);
    color: var(--red-400);
}

.filter-tag.rejected-tag:hover {
    background: rgba(239, 68, 68, 0.3);
}

/* Pipeline */
.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1280px) {
    .pipeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.pipeline-column {
    min-height: 400px;
}

.pipeline-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pipeline-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
}

.pipeline-dot.lead {
    background: var(--slate-500);
}

.pipeline-dot.contacted {
    background: var(--amber-500);
}

.pipeline-dot.negotiating {
    background: var(--blue-500);
}

.pipeline-dot.closed {
    background: var(--emerald-500);
}

.pipeline-header h3 {
    font-weight: 600;
}

.pipeline-count {
    font-size: 0.75rem;
    color: var(--slate-500);
    background: var(--slate-800);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

.pipeline-card {
    background: rgba(51, 65, 85, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.pipeline-card:hover {
    border-color: var(--slate-600);
}

.pipeline-card h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.pipeline-card:hover h4 {
    color: var(--cyan-400);
}

.pipeline-card-domain {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--slate-400);
    margin-bottom: 0.5rem;
}

.pipeline-card-domain svg {
    width: 0.75rem;
    height: 0.75rem;
}

.pipeline-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
}

.pipeline-card-meta span:first-child {
    color: var(--slate-500);
}

.pipeline-card-meta .days-badge {
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

.pipeline-card-contact {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    font-size: 0.75rem;
    color: var(--slate-500);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1280px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.team-card {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.team-card:hover {
    border-color: rgba(100, 116, 139, 0.5);
}

.team-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.team-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.team-card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.team-card-header p {
    font-size: 0.875rem;
    color: var(--slate-400);
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.team-stat {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 0.75rem;
    padding: 1rem;
}

.team-stat h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

.team-stat p {
    font-size: 0.75rem;
    color: var(--slate-500);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 1rem;
}

.modal {
    background: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: 1rem;
    width: 100%;
    max-width: 512px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--slate-700);
}

.modal-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.modal-close {
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    color: var(--slate-400);
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--slate-700);
    color: white;
}

.modal-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--slate-700);
    background: rgba(15, 23, 42, 0.5);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--slate-900);
    border: 1px solid var(--slate-700);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: var(--cyan-500);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    background: var(--slate-800);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.empty-state-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--slate-600);
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--slate-400);
}

/* Gradient Utilities */
.bg-gradient-violet-pink {
    background: linear-gradient(135deg, var(--violet-500) 0%, var(--pink-500) 100%);
}

.bg-gradient-cyan-blue {
    background: linear-gradient(135deg, var(--cyan-500) 0%, var(--blue-500) 100%);
}

.bg-gradient-emerald-green {
    background: linear-gradient(135deg, var(--emerald-500) 0%, var(--green-500) 100%);
}

.bg-gradient-amber-orange {
    background: linear-gradient(135deg, var(--amber-500) 0%, var(--orange-500) 100%);
}

.bg-gradient-rose-red {
    background: linear-gradient(135deg, var(--rose-500) 0%, var(--red-500) 100%);
}

/* Color utilities */
.text-cyan { color: var(--cyan-400); }
.text-emerald { color: var(--emerald-400); }
.text-slate-400 { color: var(--slate-400); }
.text-slate-500 { color: var(--slate-500); }

.bg-cyan-20 { background: rgba(6, 182, 212, 0.2); }
.bg-emerald-20 { background: rgba(16, 185, 129, 0.2); }
.bg-blue-20 { background: rgba(59, 130, 246, 0.2); }
.bg-violet-20 { background: rgba(139, 92, 246, 0.2); }

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
}
