/** * Sistema de Solicitudes SINBA * Estilos Institucionales IMSS Bienestar * Encoding: UTF-8 */ :root { /* Colores Institucionales Principales */ --institucional-dorado: #BC955C; --institucional-verde: #006657; --institucional-vino: #691C32; --institucional-blanco: #FFFFFF; /* Colores Institucionales Secundarios */ --beige-claro: #F3F3E7; --verde-claro: #A2BAAD; --verde-medio: #778D76; --gris: #ACA8A5; /* RGB para transparencias */ --dorado-rgb: 188, 149, 92; --verde-rgb: 0, 102, 87; --vino-rgb: 105, 28, 50; /* Aplicación de colores */ --color-background: var(--beige-claro); --color-surface: var(--institucional-blanco); --color-text: #2C2C2C; --color-text-secondary: var(--gris); --color-primary: var(--institucional-verde); --color-primary-hover: #005548; --color-secondary: var(--institucional-dorado); --color-accent: var(--institucional-vino); --color-border: rgba(var(--dorado-rgb), 0.3); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: linear-gradient(135deg, var(--color-background) 0%, var(--verde-claro) 100%); color: var(--color-text); min-height: 100vh; padding: 20px; } svg { display: inline-block; vertical-align: middle; width: 1em; height: 1em; } .user-info svg, .security-note svg, .header-actions svg, .btn svg { width: 22px; height: 22px; margin-right: 4px; vertical-align: middle; } .btn { display: inline-flex; align-items: center; gap: 7px; } .container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; } .header { text-align: center; margin-bottom: 60px; background: var(--color-surface); padding: 48px 32px; border-radius: 24px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); border: 3px solid var(--institucional-dorado); } .logo-container { display: flex; justify-content: center; align-items: center; gap: 40px; margin-bottom: 32px; flex-wrap: wrap; } .logo-container img { max-height: 80px; width: auto; } .logo-placeholder { width: 120px; height: 80px; background: linear-gradient(135deg, var(--institucional-verde), var(--verde-claro)); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 16px; } .logo-placeholder svg { width: 100%; height: 100%; } .header h1 { font-size: 36px; font-weight: 700; color: var(--institucional-verde); margin-bottom: 12px; line-height: 1.2; } .header .subtitle { font-size: 18px; color: var(--institucional-vino); font-weight: 600; margin-bottom: 8px; } .header p { font-size: 16px; color: var(--color-text-secondary); max-width: 700px; margin: 0 auto; line-height: 1.6; } .tramites-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-top: 48px; } .tramite-card { background: var(--color-surface); border-radius: 20px; border: 3px solid var(--color-border); padding: 36px; text-decoration: none; color: var(--color-text); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; } .tramite-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--institucional-verde), var(--institucional-dorado)); transform: scaleX(0); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); } .tramite-card::after { content: ''; position: absolute; top: -50%; right: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(var(--dorado-rgb), 0.1) 0%, transparent 70%); opacity: 0; transition: opacity 0.4s; } .tramite-card:hover { transform: translateY(-12px); box-shadow: 0 24px 48px rgba(0, 102, 87, 0.15); border-color: var(--institucional-verde); } .tramite-card:hover::before { transform: scaleX(1); } .tramite-card:hover::after { opacity: 1; } .tramite-icon { width: 64px; height: 64px; margin-bottom: 24px; display: block; } .tramite-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; color: var(--institucional-verde); } .tramite-card p { font-size: 15px; color: var(--color-text-secondary); line-height: 1.6; margin-bottom: 24px; } .tramite-badge { display: inline-block; padding: 8px 16px; background: rgba(var(--verde-rgb), 0.12); color: var(--institucional-verde); border-radius: 24px; font-size: 13px; font-weight: 600; border: 2px solid rgba(var(--verde-rgb), 0.2); } .tramite-card:nth-child(1) .tramite-badge { background: rgba(var(--verde-rgb), 0.12); color: var(--institucional-verde); border-color: rgba(var(--verde-rgb), 0.3); } .tramite-card:nth-child(2) .tramite-badge { background: rgba(var(--dorado-rgb), 0.12); color: var(--institucional-dorado); border-color: rgba(var(--dorado-rgb), 0.3); } .tramite-card:nth-child(3) .tramite-badge { background: rgba(var(--vino-rgb), 0.12); color: var(--institucional-vino); border-color: rgba(var(--vino-rgb), 0.3); } .footer { text-align: center; margin-top: 64px; padding: 32px; background: var(--color-surface); border-radius: 16px; border-top: 4px solid var(--institucional-dorado); } .footer p { font-size: 14px; color: var(--color-text-secondary); margin: 8px 0; } .footer strong { color: var(--institucional-verde); font-size: 16px; } .admin-link { position: fixed; bottom: 24px; right: 24px; background: linear-gradient(135deg, var(--institucional-verde), var(--verde-claro)); color: white; padding: 16px 28px; border-radius: 50px; text-decoration: none; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 102, 87, 0.3); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); z-index: 1000; display: flex; align-items: center; gap: 8px; } .admin-link:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 32px rgba(0, 102, 87, 0.4); } .admin-link svg { width: 20px; height: 20px; } @media (max-width: 768px) { .header h1 { font-size: 28px; } .header .subtitle { font-size: 16px; } .tramites-grid { grid-template-columns: 1fr; } .logo-container { flex-direction: column; gap: 20px; } .admin-link { bottom: 16px; right: 16px; padding: 12px 20px; font-size: 14px; } } /* Animaciones */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } .header { animation: fadeInUp 0.6s ease-out; } .tramite-card { animation: fadeInUp 0.6s ease-out; } .tramite-card:nth-child(1) { animation-delay: 0.1s; } .tramite-card:nth-child(2) { animation-delay: 0.2s; } .tramite-card:nth-child(3) { animation-delay: 0.3s; }