/* Custom styles for PDF Comparison Tool */ body { background-color: #f8f9fa; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .navbar-brand { font-weight: 600; font-size: 1.5rem; } .card { border: none; border-radius: 12px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: transform 0.2s ease-in-out; } .card:hover { transform: translateY(-2px); } .card-header { border-radius: 12px 12px 0 0 !important; border-bottom: none; font-weight: 600; } .btn-primary { background: linear-gradient(135deg, #007bff, #0056b3); border: none; border-radius: 8px; font-weight: 600; padding: 12px 24px; transition: all 0.3s ease; } .btn-primary:hover { background: linear-gradient(135deg, #0056b3, #004085); transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3); } .form-control { border-radius: 8px; border: 2px solid #e9ecef; padding: 12px 16px; transition: border-color 0.3s ease; } .form-control:focus { border-color: #007bff; box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); } .nav-tabs .nav-link { border: none; border-radius: 8px 8px 0 0; color: #6c757d; font-weight: 500; padding: 12px 20px; transition: all 0.3s ease; } .nav-tabs .nav-link:hover { color: #007bff; background-color: #f8f9fa; } .nav-tabs .nav-link.active { background-color: #007bff; color: white; border: none; } .alert { border-radius: 8px; border: none; font-weight: 500; } .spinner-border { width: 3rem; height: 3rem; } .progress { height: 8px; border-radius: 4px; } .progress-bar { border-radius: 4px; } /* Comparison results styling */ .comparison-image { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); margin: 10px 0; } .difference-box { border: 3px solid #dc3545; border-radius: 4px; position: relative; } .difference-box::after { content: "Difference"; position: absolute; top: -10px; left: 10px; background: #dc3545; color: white; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: bold; } /* Table styling */ .table { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .table thead th { background-color: #f8f9fa; border-bottom: 2px solid #dee2e6; font-weight: 600; color: #495057; } .table tbody tr:hover { background-color: #f8f9fa; } /* Badge styling */ .badge { font-size: 0.8em; padding: 6px 10px; border-radius: 6px; } .badge-danger { background-color: #dc3545; } .badge-warning { background-color: #ffc107; color: #212529; } .badge-success { background-color: #28a745; } .badge-info { background-color: #17a2b8; } /* Responsive design */ @media (max-width: 768px) { .container { padding: 0 15px; } .card { margin-bottom: 20px; } .nav-tabs .nav-link { padding: 8px 12px; font-size: 14px; } .btn-lg { padding: 10px 20px; font-size: 16px; } } /* Loading animation */ @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } } .loading-pulse { animation: pulse 1.5s infinite; } /* Custom scrollbar */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; } ::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #a8a8a8; } /* Print styles */ @media print { .navbar, .btn, .nav-tabs { display: none !important; } .card { box-shadow: none !important; border: 1px solid #dee2e6 !important; } }