* { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary: #0f172a; --secondary: #1e293b; --accent: #f97316; --success: #10b981; --warning: #f59e0b; --danger: #ef4444; --info: #06b6d4; --light: #f8fafc; --border: #cbd5e0; --text: #1e293b; --text-light: #64748b; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); color: var(--text); min-height: 100vh; } #root { min-height: 100vh; } .app-premium { min-height: 100vh; display: flex; flex-direction: column; background: var(--light); } /* HEADER */ .header-premium { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: white; padding: 30px 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); border-bottom: 3px solid var(--accent); } .header-content { max-width: 1600px; margin: 0 auto; width: 100%; } .header-content h1 { font-size: 2.5em; margin-bottom: 5px; font-weight: 800; letter-spacing: -1px; } .header-subtitle { font-size: 1.1em; opacity: 0.9; font-weight: 300; } /* NAVEGACIÓN */ .nav-pills { display: flex; gap: 12px; background: white; padding: 15px 20px; border-bottom: 2px solid var(--border); overflow-x: auto; max-width: 1600px; margin: 0 auto; width: 100%; } .pill-button { padding: 10px 24px; border: 2px solid var(--border); background: white; cursor: pointer; border-radius: 25px; font-weight: 600; white-space: nowrap; transition: all 0.3s; font-size: 0.95em; } .pill-button:hover { border-color: var(--accent); color: var(--accent); } .pill-button.active { background: var(--accent); color: white; border-color: var(--accent); } /* CONTENIDO */ .main-content { flex: 1; max-width: 1600px; width: 100%; margin: 0 auto; padding: 30px 20px; } .panel-premium { background: white; border-radius: 16px; padding: 30px; margin-bottom: 30px; box-shadow: 0 4px 6px rgba(0,0,0,0.07); border: 1px solid var(--border); } .panel-premium h2 { font-size: 2em; color: var(--primary); margin-bottom: 25px; display: flex; align-items: center; gap: 12px; border-bottom: 3px solid var(--accent); padding-bottom: 15px; } /* GRID */ .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 30px; } .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; } .grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 30px; } /* CARDS */ .card { background: linear-gradient(135deg, var(--light) 0%, white 100%); padding: 20px; border-radius: 12px; border: 2px solid var(--border); transition: all 0.3s; } .card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); border-color: var(--accent); } .card h4 { color: var(--primary); margin-bottom: 12px; font-size: 1.1em; } .card-value { font-size: 2em; font-weight: 800; color: var(--accent); margin-bottom: 8px; } .card-label { font-size: 0.9em; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; } /* BOTONES */ button { border: none; padding: 12px 24px; border-radius: 10px; cursor: pointer; font-weight: 600; transition: all 0.3s; font-size: 1em; } .btn-primary { background: var(--accent); color: white; } .btn-primary:hover { background: #ea580c; transform: translateY(-2px); box-shadow: 0 8px 16px rgba(217, 70, 239, 0.4); } .btn-secondary { background: var(--light); color: var(--primary); border: 2px solid var(--border); } .btn-secondary:hover { border-color: var(--accent); color: var(--accent); } .btn-success { background: var(--success); color: white; } .btn-danger { background: var(--danger); color: white; } .btn-small { padding: 8px 16px; font-size: 0.9em; } .button-group { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; } /* INPUTS */ input, select, textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 1em; transition: all 0.3s; margin-bottom: 12px; } input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(217, 70, 239, 0.1); } label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--primary); } /* TABLA */ .table-responsive { overflow-x: auto; margin-bottom: 20px; border-radius: 10px; border: 1px solid var(--border); } table { width: 100%; border-collapse: collapse; } thead { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: white; } th { padding: 16px; text-align: left; font-weight: 700; font-size: 0.95em; } td { padding: 14px 16px; border-bottom: 1px solid var(--border); } tbody tr:hover { background: var(--light); } /* MODAL */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; } .modal-box { background: white; border-radius: 16px; padding: 40px; max-width: 600px; width: 90%; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3); } .modal-box h3 { color: var(--primary); margin-bottom: 25px; font-size: 1.8em; } /* GALERÍA */ .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; margin-bottom: 20px; } .gallery-item { position: relative; border-radius: 12px; overflow: hidden; background: var(--light); aspect-ratio: 1; border: 2px dashed var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; } .gallery-item:hover { border-color: var(--accent); background: rgba(217, 70, 239, 0.05); } .gallery-item img { width: 100%; height: 100%; object-fit: cover; } /* TIMELINE/GANTT */ .timeline { position: relative; padding: 20px 0; } .timeline-item { display: grid; grid-template-columns: 150px 1fr; gap: 20px; margin-bottom: 25px; padding: 20px; background: var(--light); border-radius: 10px; border-left: 4px solid var(--accent); } .timeline-label { font-weight: 700; color: var(--primary); } .timeline-bar { height: 40px; background: linear-gradient(90deg, var(--accent), #ea580c); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; font-size: 0.9em; } /* ESTADÍSTICAS */ .stats-box { background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%); color: white; padding: 30px; border-radius: 16px; text-align: center; margin-bottom: 20px; } .stats-box .value { font-size: 2.5em; font-weight: 800; margin-bottom: 8px; } .stats-box .label { font-size: 0.95em; opacity: 0.9; } /* ALERTAS */ .alert { padding: 16px; border-radius: 10px; margin-bottom: 20px; border-left: 4px solid; } .alert-info { background: #dbeafe; border-color: var(--info); color: #0c4a6e; } .alert-success { background: #dcfce7; border-color: var(--success); color: #166534; } .alert-warning { background: #fef3c7; border-color: var(--warning); color: #78350f; } /* RESPONSIVO */ @media (max-width: 768px) { .header-content h1 { font-size: 1.8em; } .main-content { padding: 20px 16px; } .panel-premium { padding: 20px; } .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .nav-pills { overflow-x: auto; padding: 10px; } .pill-button { padding: 8px 16px; font-size: 0.85em; } } .hidden { display: none !important; } /* BADGES */ .badge { display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 0.85em; font-weight: 600; } .badge-accent { background: rgba(217, 70, 239, 0.1); color: var(--accent); } .badge-success { background: rgba(16, 185, 129, 0.1); color: var(--success); } .badge-warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); } .progress-bar-container { width: 100%; height: 10px; background: var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 12px; } .progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #ea580c); width: 0%; transition: width 0.3s; } input[type="file"] { padding: 0; border: 2px dashed var(--border); padding: 20px; text-align: center; cursor: pointer; } input[type="file"]::-webkit-file-upload-button { display: none; }