body { background-color: #f4f6f8; } .navbar-brand { font-weight: 600; } .table td, .table th { vertical-align: middle; } .card-title { font-weight: 600; } .icon { vertical-align: -0.125em; margin-right: 0.35rem; } h2 .icon { width: 1.3em; height: 1.3em; } .carrier-badge { display: inline-block; padding: 0.35em 0.75em; font-size: 0.8rem; font-weight: 600; color: #fff; background-color: #ff7900; border-radius: 0.375rem; vertical-align: middle; } .user-pill { font-size: 0.85rem; color: #fff !important; opacity: 0.9; } /* ------------------------------------------------------------------ */ /* Login page */ /* ------------------------------------------------------------------ */ .login-body { background-color: #f4f6f8; min-height: 100vh; display: flex; align-items: center; justify-content: center; } .login-wrap { width: 100%; max-width: 400px; padding: 1.5rem; } .login-card { background: #fff; border-radius: 1rem; box-shadow: 0 0.75rem 2rem rgba(20, 40, 60, 0.12); padding: 2.25rem 2rem; } .login-logo { max-height: 56px; width: auto; } /* ------------------------------------------------------------------ */ /* Home page: logo + animated tiles */ /* ------------------------------------------------------------------ */ .hero-logo { max-height: 70px; width: auto; } @keyframes fadeInDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } } .hero-fade-in { animation: fadeInDown 0.6s ease both; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } } .tile-card { border: none; border-radius: 1rem; color: inherit; animation: fadeInUp 0.55s ease both; transition: transform 0.25s ease, box-shadow 0.25s ease; } /* Stagger the entrance animation for each tile in the grid. */ .row > div:nth-child(1) .tile-card { animation-delay: 0.05s; } .row > div:nth-child(2) .tile-card { animation-delay: 0.18s; } .row > div:nth-child(3) .tile-card { animation-delay: 0.31s; } .tile-card:hover, .tile-card:focus-visible { transform: translateY(-8px) scale(1.015); box-shadow: 0 1.25rem 2.5rem rgba(20, 40, 60, 0.15) !important; } .tile-icon-wrap { width: 84px; height: 84px; margin: 0 auto 1.25rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; } .tile-icon-wrap svg { width: 40px; height: 40px; } .tile-card:hover .tile-icon-wrap { transform: scale(1.12) rotate(-6deg); } .tile-phones .tile-icon-wrap { color: #fff; background: linear-gradient(135deg, #0d6efd, #6ea8fe); } .tile-internet .tile-icon-wrap { color: #fff; background: linear-gradient(135deg, #198754, #63e6be); } @media (prefers-reduced-motion: reduce) { .hero-fade-in, .tile-card, .tile-icon-wrap { animation: none !important; transition: none !important; } } /* ------------------------------------------------------------------ */ /* Mobile Phones page */ /* ------------------------------------------------------------------ */ .stat-card { display: flex; align-items: center; gap: 0.9rem; background: #fff; border-radius: 0.9rem; padding: 1rem 1.15rem; box-shadow: 0 0.25rem 0.75rem rgba(20, 40, 60, 0.06); animation: fadeInUp 0.5s ease both; transition: transform 0.2s ease, box-shadow 0.2s ease; } .stat-card:hover { transform: translateY(-3px); box-shadow: 0 0.5rem 1.25rem rgba(20, 40, 60, 0.1); } .row.g-3 > div:nth-child(1) .stat-card { animation-delay: 0.02s; } .row.g-3 > div:nth-child(2) .stat-card { animation-delay: 0.09s; } .row.g-3 > div:nth-child(3) .stat-card { animation-delay: 0.16s; } .row.g-3 > div:nth-child(4) .stat-card { animation-delay: 0.23s; } .row.g-3 > div:nth-child(5) .stat-card { animation-delay: 0.30s; } .row.g-3 > div:nth-child(6) .stat-card { animation-delay: 0.37s; } .row.g-3 > div:nth-child(7) .stat-card { animation-delay: 0.44s; } .row.g-3 > div:nth-child(8) .stat-card { animation-delay: 0.51s; } .stat-icon { flex: none; width: 46px; height: 46px; border-radius: 0.7rem; display: flex; align-items: center; justify-content: center; color: #fff; } .stat-icon svg { width: 22px; height: 22px; } .stat-icon-total { background: linear-gradient(135deg, #0d6efd, #6ea8fe); } .stat-icon-warning { background: linear-gradient(135deg, #fd7e14, #ffc078); } .stat-icon-danger { background: linear-gradient(135deg, #dc3545, #ff8a94); } .stat-icon-success { background: linear-gradient(135deg, #198754, #63e6be); } .stat-value { font-size: 1.5rem; font-weight: 700; line-height: 1.1; } .stat-label { font-size: 0.8rem; color: #6c757d; } .modern-card { background: #fff; border-radius: 1rem; box-shadow: 0 0.25rem 0.75rem rgba(20, 40, 60, 0.06); overflow: hidden; animation: fadeInUp 0.5s ease both; animation-delay: 0.28s; } .stat-icon-headoffice { background: linear-gradient(135deg, #6f42c1, #b197fc); } .stat-icon-restaurant { background: linear-gradient(135deg, #d63384, #ff8fb1); } .stat-icon-verified { background: linear-gradient(135deg, #0ca678, #63e6be); } .stat-icon-unverified { background: linear-gradient(135deg, #868e96, #ced4da); } .table-toolbar { padding: 1rem 1.25rem; border-bottom: 1px solid #eef0f2; } .search-box { position: relative; max-width: 360px; flex: 1 1 260px; } .search-box svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: #adb5bd; } .search-box .form-control { padding-left: 2.25rem; border-radius: 2rem; background-color: #f4f6f8; border-color: transparent; } .search-box .form-control:focus { background-color: #fff; } .modern-table thead th { background-color: #f8f9fb; color: #6c757d; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; border-bottom: 2px solid #eef0f2; padding: 0.85rem 0.9rem; white-space: nowrap; } .modern-table tbody td { padding: 0.75rem 0.9rem; border-bottom: 1px solid #f1f3f5; white-space: nowrap; } .modern-table tbody td.text-truncate { white-space: nowrap; /* already implied by .text-truncate, kept explicit for clarity */ } .modern-table tbody tr { transition: background-color 0.15s ease; } .sort-link { color: inherit; text-decoration: none; } .sort-link:hover { color: #0d6efd; } .sort-inactive { opacity: 0.35; } .sort-active { color: #0d6efd; } .btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border-radius: 0.6rem; border: 1px solid transparent; background: transparent; transition: background-color 0.15s ease, transform 0.15s ease; } .btn-icon svg { width: 16px; height: 16px; } .btn-icon:hover { transform: translateY(-1px); } .btn-icon-primary { color: #0d6efd; } .btn-icon-primary:hover { background-color: #e7f1ff; } .btn-icon-danger { color: #dc3545; } .btn-icon-danger:hover { background-color: #fdeced; } @media (prefers-reduced-motion: reduce) { .stat-card, .modern-card { animation: none !important; transition: none !important; } }