/* ============================================================ SISTEMA DE GESTIÓN DE DOCUMENTACIÓN – style.css Design System: Modern Dark/Light, glassmorphism accents ============================================================ */ /* ── Google Font import ── */ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap'); /* ── CSS Variables ── */ :root { --primary: #2e7d32; /* Army Green */ --primary-dark: #1b5e20; --primary-light: #66bb6a; --secondary: #0288d1; /* Tech Blue */ --success: #388e3c; --warning: #fbc02d; --danger: #d32f2f; --info: #03a9f4; /* Light theme */ --bg: #f1f8e9; /* Light Green Tint */ --bg-card: #ffffff; --bg-sidebar: #1b2e1b; /* Deep Army Green */ --bg-topbar: #ffffff; --text: #1e293b; --text-muted: #64748b; --text-sidebar: #c7d2fe; --border: #e2e8f0; --shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 4px 16px rgba(0, 0, 0, .06); --shadow-lg: 0 10px 40px rgba(0, 0, 0, .12); --radius: .75rem; --radius-sm: .5rem; --sidebar-width: 260px; --topbar-h: 64px; --transition: .25s ease; } [data-theme="dark"] { --bg: #0f172a; --bg-card: #1e293b; --bg-sidebar: #0f0e1f; --bg-topbar: #1e293b; --text: #e2e8f0; --text-muted: #94a3b8; --border: #334155; --shadow: 0 1px 3px rgba(0, 0, 0, .4), 0 4px 16px rgba(0, 0, 0, .3); } /* ── Reset / Base ── */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; } body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.6; transition: background var(--transition), color var(--transition); min-height: 100vh; } /* ── Scrollbar ── */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; } /* ═══════════════════════════════════════════════════════════ LAYOUT ═══════════════════════════════════════════════════════════ */ .app-wrapper { display: flex; min-height: 100vh; } /* ── Sidebar ── */ .sidebar { width: var(--sidebar-width); min-height: 100vh; background: var(--bg-sidebar); position: fixed; left: 0; top: 0; display: flex; flex-direction: column; z-index: 1000; transition: transform var(--transition), width var(--transition); overflow: hidden; } .sidebar-brand { display: flex; align-items: center; gap: .75rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, .08); text-decoration: none; } .sidebar-brand-icon { width: 38px; height: 38px; background: var(--primary); border-radius: var(--radius-sm); display: grid; place-items: center; font-size: 1.1rem; color: #fff; flex-shrink: 0; box-shadow: 0 4px 14px rgba(79, 70, 229, .5); } .sidebar-brand-text { color: #fff; font-weight: 700; font-size: .85rem; line-height: 1.3; letter-spacing: -.01em; } .sidebar-brand-text span { display: block; font-weight: 400; font-size: .72rem; opacity: .65; } .sidebar-nav { flex: 1; overflow-y: auto; padding: 1rem 0; } .nav-section-title { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .35); padding: .75rem 1.5rem .25rem; } .nav-item { display: flex; align-items: center; gap: .75rem; padding: .65rem 1.5rem; color: var(--text-sidebar); text-decoration: none; font-size: .85rem; font-weight: 500; border-radius: 0; margin: .1rem 0; position: relative; transition: all var(--transition); } .nav-item:hover { background: rgba(255, 255, 255, .07); color: #fff; } .nav-item.active { background: linear-gradient(90deg, rgba(79, 70, 229, .35), rgba(79, 70, 229, .1)); color: #fff; border-right: 3px solid var(--primary-light); } .nav-item i { width: 1.1rem; text-align: center; font-size: .95rem; flex-shrink: 0; opacity: .8; } .nav-badge { margin-left: auto; background: var(--danger); color: #fff; font-size: .68rem; font-weight: 700; padding: .1rem .42rem; border-radius: 99px; min-width: 18px; text-align: center; } .sidebar-footer { padding: 1rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); } .user-mini { display: flex; align-items: center; gap: .75rem; padding: .5rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); } .user-mini-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: grid; place-items: center; color: #fff; font-size: .85rem; font-weight: 700; flex-shrink: 0; } .user-mini-info { flex: 1; min-width: 0; } .user-mini-name { color: #fff; font-weight: 600; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .user-mini-role { color: rgba(255, 255, 255, .45); font-size: .72rem; } /* ── Main Content ── */ .main-content { flex: 1; margin-left: var(--sidebar-width); display: flex; flex-direction: column; min-height: 100vh; transition: margin-left var(--transition); } /* ── Topbar ── */ .topbar { height: var(--topbar-h); background: var(--bg-topbar); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 1.5rem; gap: 1rem; position: sticky; top: 0; z-index: 900; box-shadow: var(--shadow); transition: background var(--transition); } .topbar-title { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; flex: 1; } .topbar-actions { display: flex; align-items: center; gap: .5rem; } .btn-icon { width: 38px; height: 38px; border: none; background: transparent; border-radius: var(--radius-sm); color: var(--text-muted); cursor: pointer; display: grid; place-items: center; font-size: 1rem; transition: all var(--transition); position: relative; text-decoration: none; } .btn-icon:hover { background: var(--bg); color: var(--primary); } .notif-dot { width: 8px; height: 8px; background: var(--danger); border-radius: 50%; position: absolute; top: 6px; right: 6px; border: 2px solid var(--bg-topbar); } /* ── Page Content ── */ .page-content { flex: 1; padding: 1.5rem; overflow-x: hidden; } /* ═══════════════════════════════════════════════════════════ COMPONENTS ═══════════════════════════════════════════════════════════ */ /* ── Cards ── */ .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all var(--transition); position: relative; } .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } .card-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .75rem; background: linear-gradient(90deg, rgba(46, 125, 50, 0.08), transparent); } .card-title { font-size: .95rem; font-weight: 700; letter-spacing: -.01em; flex: 1; } .card-body { padding: 1.25rem; } .card-footer { padding: .875rem 1.25rem; border-top: 1px solid var(--border); background: rgba(0, 0, 0, .02); } /* ── KPI Cards ── */ .kpi-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 1rem; position: relative; overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); } .kpi-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); } .kpi-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; } .kpi-card.kpi-primary::before { background: linear-gradient(90deg, var(--primary), var(--primary-light)); } .kpi-card.kpi-danger::before { background: linear-gradient(90deg, var(--danger), #fca5a5); } .kpi-card.kpi-warning::before { background: linear-gradient(90deg, var(--warning), #fcd34d); } .kpi-card.kpi-success::before { background: linear-gradient(90deg, var(--success), #6ee7b7); } .kpi-icon { width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; } .kpi-primary .kpi-icon { background: rgba(79, 70, 229, .12); color: var(--primary); } .kpi-danger .kpi-icon { background: rgba(239, 68, 68, .12); color: var(--danger); } .kpi-warning .kpi-icon { background: rgba(245, 158, 11, .12); color: var(--warning); } .kpi-success .kpi-icon { background: rgba(16, 185, 129, .12); color: var(--success); } .kpi-info { flex: 1; } .kpi-value { font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; } .kpi-label { font-size: .78rem; font-weight: 500; color: var(--text-muted); margin-top: .2rem; } /* ── Buttons ── */ .btn { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: .82rem; font-weight: 600; cursor: pointer; transition: all var(--transition); text-decoration: none; white-space: nowrap; font-family: inherit; } .btn-primary { background: var(--primary); color: #fff; } .btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(79, 70, 229, .4); } .btn-success { background: var(--success); color: #fff; } .btn-success:hover { background: #059669; } .btn-danger { background: var(--danger); color: #fff; } .btn-danger:hover { background: #dc2626; } .btn-warning { background: var(--warning); color: #fff; } .btn-warning:hover { background: #d97706; } .btn-secondary { background: var(--bg); color: var(--text); border-color: var(--border); } .btn-secondary:hover { background: var(--border); } .btn-outline-primary { background: transparent; color: var(--primary); border-color: var(--primary); } .btn-outline-primary:hover { background: var(--primary); color: #fff; } .btn-sm { padding: .3rem .7rem; font-size: .76rem; } .btn-lg { padding: .75rem 1.5rem; font-size: .9rem; } /* ── Forms ── */ .form-group { margin-bottom: 1rem; } .form-label { display: block; font-size: .8rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; } .form-label .required { color: var(--danger); margin-left: .2rem; } .form-control { width: 100%; padding: .55rem .875rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-family: inherit; font-size: .85rem; transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); outline: none; } .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, .15); background: var(--bg-card); } .form-control.is-invalid { border-color: var(--danger); } .invalid-feedback { font-size: .76rem; color: var(--danger); margin-top: .3rem; } .form-text { font-size: .75rem; color: var(--text-muted); margin-top: .3rem; } select.form-control { cursor: pointer; } textarea.form-control { resize: vertical; min-height: 80px; } .form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } /* ── Badges / Semáforo ── */ .badge { display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .6rem; border-radius: 99px; font-size: .7rem; font-weight: 700; letter-spacing: .02em; } .badge-primary { background: rgba(79, 70, 229, .15); color: var(--primary); } .badge-success { background: rgba(16, 185, 129, .15); color: var(--success); } .badge-warning { background: rgba(245, 158, 11, .15); color: var(--warning); } .badge-danger { background: rgba(239, 68, 68, .15); color: var(--danger); } .badge-info { background: rgba(59, 130, 246, .15); color: var(--info); } .badge-secondary { background: rgba(100, 116, 139, .15); color: var(--text-muted); } .badge-dark { background: rgba(30, 41, 59, .15); color: var(--text); } /* ── Semáforo de vencimiento ── */ .semaforo-vigente { background: rgba(16, 185, 129, .12); color: var(--success); } .semaforo-proximo { background: rgba(245, 158, 11, .12); color: var(--warning); } .semaforo-vencido { background: rgba(239, 68, 68, .12); color: var(--danger); } .semaforo-completado { background: rgba(59, 130, 246, .12); color: var(--info); } /* ── Tables ── */ .table-responsive { overflow-x: auto; } .table { width: 100%; border-collapse: collapse; font-size: .82rem; } .table th { padding: .65rem 1rem; text-align: left; font-weight: 600; font-size: .73rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); background: var(--bg); border-bottom: 2px solid var(--border); white-space: nowrap; } .table td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; } .table tbody tr { transition: background var(--transition); } .table tbody tr:hover { background: var(--bg); } .table tbody tr:last-child td { border-bottom: none; } /* ── Alerts (toasts / banners) ── */ .alert { display: flex; align-items: center; gap: .75rem; padding: .875rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: .85rem; font-weight: 500; animation: slideDown .3s ease; } .alert-danger { background: rgba(239, 68, 68, .1); color: #991b1b; border: 1px solid rgba(239, 68, 68, .25); } .alert-success { background: rgba(16, 185, 129, .1); color: #065f46; border: 1px solid rgba(16, 185, 129, .25); } .alert-warning { background: rgba(245, 158, 11, .1); color: #92400e; border: 1px solid rgba(245, 158, 11, .25); } .alert-info { background: rgba(59, 130, 246, .1); color: #1e40af; border: 1px solid rgba(59, 130, 246, .25); } [data-theme="dark"] .alert-danger { color: #fca5a5; } [data-theme="dark"] .alert-success { color: #6ee7b7; } [data-theme="dark"] .alert-warning { color: #fcd34d; } [data-theme="dark"] .alert-info { color: #93c5fd; } /* ── Breadcrumb ── */ .breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--text-muted); margin-bottom: 1.25rem; } .breadcrumb a { color: var(--primary); text-decoration: none; } .breadcrumb a:hover { text-decoration: underline; } .breadcrumb i.sep { font-size: .7rem; opacity: .5; } /* ── Modals ── */ .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); display: grid; place-items: center; z-index: 2000; opacity: 0; pointer-events: none; transition: opacity var(--transition); backdrop-filter: blur(4px); } .modal-overlay.show { opacity: 1; pointer-events: all; } .modal-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); width: min(560px, 95vw); box-shadow: var(--shadow-lg); transform: scale(.95); transition: transform var(--transition); } .modal-overlay.show .modal-box { transform: scale(1); } .modal-header { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); } .modal-title { font-weight: 700; font-size: .95rem; flex: 1; } .modal-body { padding: 1.25rem; } .modal-footer { padding: 1rem 1.25rem; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: .5rem; } /* ── Notification dropdown ── */ .notif-dropdown { position: absolute; top: calc(var(--topbar-h) + .5rem); right: .5rem; width: 360px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 1100; overflow: hidden; display: none; } .notif-dropdown.show { display: block; animation: slideDown .2s ease; } .notif-item { display: flex; gap: .75rem; padding: .875rem 1rem; border-bottom: 1px solid var(--border); cursor: pointer; text-decoration: none; color: var(--text); transition: background var(--transition); } .notif-item:hover { background: var(--bg); } .notif-item.unread { background: rgba(79, 70, 229, .04); } .notif-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; flex-shrink: 0; } /* ── Tabs ── */ .tabs { display: flex; gap: .25rem; border-bottom: 2px solid var(--border); margin-bottom: 1.25rem; } .tab-btn { padding: .6rem 1rem; background: none; border: none; font-family: inherit; font-size: .83rem; font-weight: 600; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition); } .tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); } .tab-btn:hover { color: var(--text); } .tab-content { display: none; } .tab-content.active { display: block; animation: fadeIn .2s ease; } /* ── Progress / Timeline ── */ .timeline { position: relative; padding-left: 1.75rem; } .timeline::before { content: ''; position: absolute; left: .5rem; top: 0; bottom: 0; width: 2px; background: var(--border); } .timeline-item { position: relative; margin-bottom: 1.25rem; } .timeline-item::before { content: ''; position: absolute; left: -1.45rem; top: .3rem; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); border: 2px solid var(--bg-card); } .timeline-date { font-size: .72rem; color: var(--text-muted); font-weight: 500; } .timeline-body { font-size: .83rem; margin-top: .2rem; } .timeline-author { font-weight: 600; } /* ── Upload dropzone ── */ .dropzone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--text-muted); cursor: pointer; transition: all var(--transition); background: var(--bg); } .dropzone:hover, .dropzone.dragover { border-color: var(--primary); background: rgba(79, 70, 229, .04); color: var(--primary); } /* ── Priority indicators ── */ .prioridad-alta { color: var(--danger); } .prioridad-media { color: var(--warning); } .prioridad-baja { color: var(--success); } /* ── Page header ── */ .page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; } .page-header-content h1 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; } .page-header-content p { font-size: .83rem; color: var(--text-muted); margin-top: .2rem; } /* ── Search bar ── */ .search-bar { position: relative; flex: 1; max-width: 400px; } .search-bar input { padding-left: 2.4rem; } .search-bar i { position: absolute; left: .875rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; } /* ── Filters strip ── */ .filter-strip { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .875rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 1rem; } .filter-strip select, .filter-strip input[type="date"] { min-width: 140px; flex: 1; } /* ── Comment thread ── */ .comment-thread { display: flex; flex-direction: column; gap: .875rem; } .comment-item { display: flex; gap: .75rem; } .comment-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .8rem; flex-shrink: 0; } .comment-bubble { background: var(--bg); border: 1px solid var(--border); border-radius: 0 var(--radius) var(--radius) var(--radius); padding: .65rem .875rem; flex: 1; } .comment-meta { font-size: .72rem; color: var(--text-muted); margin-bottom: .25rem; } .comment-meta strong { color: var(--text); font-weight: 600; } .comment-text { font-size: .83rem; } /* ── Toast notifications ── */ .toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: .5rem; } .toast { display: flex; align-items: center; gap: .75rem; padding: .875rem 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .83rem; min-width: 280px; animation: slideUp .3s ease; border-left: 4px solid var(--success); } .toast.error { border-left-color: var(--danger); } .toast.warn { border-left-color: var(--warning); } /* ── Animations ── */ @keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } } @keyframes slideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } /* ── Responsive ── */ @media (max-width: 768px) { .sidebar { transform: translateX(calc(-1 * var(--sidebar-width))); } .sidebar.open { transform: translateX(0); } .main-content { margin-left: 0; } .kpi-card { flex-direction: column; text-align: center; } .page-header { flex-direction: column; } .form-row { grid-template-columns: 1fr; } .filter-strip { flex-direction: column; } .filter-strip select, .filter-strip input[type="date"] { min-width: unset; width: 100%; } } /* ── Utilities ── */ .d-flex { display: flex; } .align-items-center { align-items: center; } .justify-content-between { justify-content: space-between; } .gap-1 { gap: .25rem; } .gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; } .mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; } .mb-4 { margin-bottom: 1rem; } .mb-3 { margin-bottom: .75rem; } .mb-2 { margin-bottom: .5rem; } .text-muted { color: var(--text-muted); } .text-danger { color: var(--danger); } .text-success { color: var(--success); } .text-primary { color: var(--primary); } .fw-bold { font-weight: 700; } .fw-600 { font-weight: 600; } .fs-sm { font-size: .78rem; } .text-end { text-align: right; } .text-center { text-align: center; } .w-100 { width: 100%; } .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; } .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; } @media (max-width: 992px) { .grid-4 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } } @media (max-width: 576px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } } /* ── Login Page ── */ .login-page { min-height: 100vh; background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #1e3a5f 100%); display: grid; place-items: center; padding: 1rem; position: relative; overflow: hidden; } .login-page::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 800px 600px at 20% 20%, rgba(79, 70, 229, .25), transparent), radial-gradient(ellipse 600px 500px at 80% 80%, rgba(6, 182, 212, .15), transparent); } .login-card { width: min(440px, 100%); background: rgba(255, 255, 255, .07); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, .15); border-radius: 1.25rem; padding: 2.5rem; box-shadow: 0 25px 60px rgba(0, 0, 0, .4); position: relative; z-index: 1; animation: slideDown .4s ease; } .login-logo { text-align: center; margin-bottom: 2rem; } .login-logo-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 1rem; display: grid; place-items: center; font-size: 1.75rem; color: #fff; margin: 0 auto .75rem; box-shadow: 0 8px 24px rgba(79, 70, 229, .5); } .login-logo h1 { color: #fff; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; } .login-logo p { color: rgba(255, 255, 255, .55); font-size: .8rem; margin-top: .25rem; } .login-card .form-label { color: rgba(255, 255, 255, .8); } .login-card .form-control { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; } .login-card .form-control::placeholder { color: rgba(255, 255, 255, .35); } .login-card .form-control:focus { background: rgba(255, 255, 255, .15); border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(129, 140, 248, .3); }