:root { --primary-color: #007bff; --secondary-color: #6c757d; --success-color: #28a745; --info-color: #17a2b8; --warning-color: #ffc107; --danger-color: #dc3545; --light-color: #f8f9fa; --dark-color: #343a40; --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175); } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; } .modern-navbar { background: #fff !important; border-bottom: 1px solid #e9ecef; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); transition: all 0.2s ease; } .modern-navbar.scrolled { background: #fff !important; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .navbar-brand { font-weight: 600; font-size: 1.25rem; color: #2d3748 !important; } .navbar-brand:hover { color: #2d3748 !important; } .navbar-nav .nav-link { font-weight: 400; transition: all 0.2s ease; border-radius: 4px; margin: 0 2px; color: #6c757d !important; } .navbar-nav .nav-link:hover { color: #495057 !important; background: #f8f9fa; transform: none; } .navbar-nav .nav-link::after { display: none; } .navbar-nav .nav-link:hover::after { display: none; } .navbar-nav .btn { border-radius: 4px; font-weight: 400; transition: all 0.2s ease; border: 1px solid #dee2e6; padding: 0.4rem 0.8rem; margin: 0 0.125rem; font-size: 0.9rem; } .navbar-nav .btn:hover { transform: none; box-shadow: none; } .navbar-toggler { padding: 0.25rem 0.5rem; font-size: 1rem; border-radius: 4px; border: 1px solid #e9ecef; color: #6c757d; } .navbar-toggler:focus { box-shadow: none; outline: none; } .card { border: none; box-shadow: var(--shadow); transition: all 0.3s ease; border-radius: 0.75rem; } .card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); } .card-header { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-bottom: 1px solid #dee2e6; font-weight: 600; } .btn { border-radius: 0.5rem; font-weight: 500; transition: all 0.3s ease; } .btn:hover { transform: translateY(-1px); box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); } .btn-lg { padding: 0.75rem 1.5rem; font-size: 1.1rem; } .tool-card { border: none; border-radius: 1rem; overflow: hidden; transition: all 0.3s ease; background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); } .tool-card:hover { transform: translateY(-5px); box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15); } .tool-card .card-body { padding: 2rem 1.5rem; } .tool-card i { transition: all 0.3s ease; } .tool-card:hover i { transform: scale(1.1); } .hero-section { border-radius: 1rem; position: relative; overflow: hidden; } .hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>'); opacity: 0.1; } .form-control, .form-select { border-radius: 0.5rem; border: 2px solid #e9ecef; transition: all 0.3s ease; } .form-control:focus, .form-select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); } .input-group-text { border-radius: 0.5rem 0 0 0.5rem; border: 2px solid #e9ecef; background: var(--light-color); } .breadcrumb { background: transparent; padding: 0; margin-bottom: 1rem; } .breadcrumb-item + .breadcrumb-item::before { content: "›"; font-size: 1.2rem; color: var(--secondary-color); } .progress { height: 0.75rem; border-radius: 0.5rem; background-color: #e9ecef; } .progress-bar { border-radius: 0.5rem; transition: width 0.6s ease; } .alert { border: none; border-radius: 0.75rem; border-left: 4px solid; } .alert-info { border-left-color: var(--info-color); background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(23, 162, 184, 0.05) 100%); } .alert-success { border-left-color: var(--success-color); background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%); } .alert-warning { border-left-color: var(--warning-color); background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%); } .alert-danger { border-left-color: var(--danger-color); background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%); } footer { margin-top: auto; background: linear-gradient(135deg, #343a40 0%, #495057 100%); } @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } .fade-in-up { animation: fadeInUp 0.6s ease-out; } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } } .pulse { animation: pulse 2s infinite; } .spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, 0.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; } @keyframes spin { to { transform: rotate(360deg); } } @media (max-width: 768px) { .hero-section { padding: 3rem 0 !important; } .hero-section h1 { font-size: 2rem !important; } .tool-card .card-body { padding: 1.5rem 1rem; } .btn-group { flex-direction: column; } .btn-group .btn { margin: 0.25rem 0; border-radius: 0.5rem !important; } } @media (max-width: 576px) { .container { padding-left: 1rem; padding-right: 1rem; } .card-body { padding: 1rem; } .display-4 { font-size: 2.5rem; } .display-5 { font-size: 2rem; } .display-6 { font-size: 1.75rem; } } @media (prefers-color-scheme: dark) { :root { --bs-body-bg: #121212; --bs-body-color: #e0e0e0; } .card { background-color: #1e1e1e; color: #e0e0e0; } .form-control, .form-select { background-color: #2d2d2d; border-color: #404040; color: #e0e0e0; } .form-control:focus, .form-select:focus { background-color: #2d2d2d; border-color: var(--primary-color); color: #e0e0e0; } } .text-shadow { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .bg-gradient { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); } .border-dashed { border-style: dashed !important; } .font-monospace { font-family: 'Courier New', Courier, monospace; } .cursor-pointer { cursor: pointer; } .user-select-none { user-select: none; } ::-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; } .modern-tool-card { background: white; border-radius: 20px; border: 1px solid #e9ecef; transition: all 0.4s ease; overflow: hidden; position: relative; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); } .modern-tool-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #667eea, #764ba2); transform: scaleX(0); transition: transform 0.3s ease; } .modern-tool-card:hover::before { transform: scaleX(1); } .modern-tool-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); border-color: #667eea; } .tool-card-header { padding: 1.5rem 1.5rem 0; display: flex; justify-content: space-between; align-items: flex-start; } .tool-icon { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1)); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: all 0.3s ease; } .modern-tool-card:hover .tool-icon { transform: scale(1.1); background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2)); } .tool-badge { background: #667eea; color: white; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } .tool-card-body { padding: 1rem 1.5rem; } .tool-title { font-size: 1.1rem; font-weight: 700; color: #2d3748; margin-bottom: 0.5rem; } .tool-description { color: #718096; font-size: 0.9rem; line-height: 1.5; margin-bottom: 1rem; } .tool-features { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; } .feature-tag { background: #f7fafc; color: #4a5568; padding: 0.25rem 0.5rem; border-radius: 8px; font-size: 0.75rem; font-weight: 500; border: 1px solid #e2e8f0; } .tool-card-footer { padding: 0 1.5rem 1.5rem; } .btn-tool { background: linear-gradient(135deg, #667eea, #764ba2); color: white; border: none; border-radius: 12px; padding: 0.75rem 1.5rem; font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: all 0.3s ease; display: inline-flex; align-items: center; width: 100%; justify-content: center; } .btn-tool:hover { background: linear-gradient(135deg, #5a6fd8, #6b46a3); color: white; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3); } .search-container { position: relative; } .search-container .input-group { border-radius: 15px; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); } .search-container .input-group-text { border: 2px solid #e9ecef; border-right: none; } .search-container .form-control { border: 2px solid #e9ecef; border-left: none; font-size: 1.1rem; padding: 0.75rem 1rem; } .search-container .form-control:focus { border-color: #667eea; box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25); } .search-suggestions { position: absolute; top: 100%; left: 0; right: 0; z-index: 1000; } .search-suggestion-item { padding: 0.5rem; color: #6c757d; font-size: 0.9rem; } .tool-page-container { padding: 0; } .tool-header { background: #f8f9fa; color: #2d3748; padding: 2rem 0; margin-bottom: 2rem; border-bottom: 1px solid #e9ecef; } .tool-breadcrumb { background: none; padding: 0; margin: 0; } .tool-breadcrumb .breadcrumb-item a { color: #6c757d; text-decoration: none; } .tool-breadcrumb .breadcrumb-item a:hover { color: #495057; } .tool-breadcrumb .breadcrumb-item.active { color: #2d3748; } .tool-title-section { display: flex; align-items: center; gap: 1.5rem; } .tool-icon { width: 60px; height: 60px; background: #fff; border: 2px solid #e9ecef; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #6c757d; } .tool-title { font-size: 2rem; font-weight: 600; margin: 0; color: #2d3748; } .tool-description { font-size: 1rem; margin: 0.5rem 0 0; color: #6c757d; } .tool-badges { display: flex; flex-direction: column; gap: 0.5rem; } .tool-badge { display: inline-block; padding: 0.3rem 0.8rem; background: #e9ecef; color: #6c757d; border-radius: 6px; font-size: 0.8rem; font-weight: 500; text-align: center; } .tool-main-content { margin-top: 2rem; } .tool-card { background: white; border-radius: 8px; border: 1px solid #e9ecef; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); overflow: hidden; margin-bottom: 1.5rem; transition: all 0.2s ease; } .tool-card:hover { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); transform: translateY(-1px); } .tool-card-header { padding: 1.5rem 1.5rem 1rem; border-bottom: 1px solid #f8f9fa; } .tool-card-title { font-size: 1.25rem; font-weight: 600; color: #2d3748; margin: 0; display: flex; align-items: center; } .tool-card-title i { color: #6c757d; } .tool-card-subtitle { color: #868e96; font-size: 0.9rem; margin: 0.5rem 0 0; display: none; } .tool-card-body { padding: 1.5rem; } .modern-form .form-label { font-weight: 600; color: #2d3748; margin-bottom: 0.5rem; } .modern-form .form-control, .modern-form .form-select { border: 2px solid #e9ecef; border-radius: 12px; padding: 0.75rem 1rem; transition: all 0.3s ease; font-size: 1rem; } .modern-form .form-control:focus, .modern-form .form-select:focus { border-color: #667eea; box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25); } .btn-tool-primary { background: #007bff; border: none; color: white; padding: 0.75rem 1.5rem; border-radius: 6px; font-weight: 500; font-size: 0.95rem; width: 100%; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; gap: 0.5rem; } .btn-tool-primary:hover { background: #0056b3; transform: none; box-shadow: none; color: white; } .btn-tool-success { background: #28a745; border: none; color: white; padding: 0.6rem 1.2rem; border-radius: 6px; font-weight: 500; transition: all 0.2s ease; } .btn-tool-success:hover { background: #1e7e34; transform: none; box-shadow: none; color: white; } .btn-tool-info { background: #17a2b8; border: none; color: white; padding: 0.6rem 1.2rem; border-radius: 6px; font-weight: 500; transition: all 0.2s ease; } .btn-tool-info:hover { background: #117a8b; transform: none; box-shadow: none; color: white; } .qr-actions { margin-top: 1.5rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; } .tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; } .tip-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem; background: #f8f9fa; border-radius: 6px; transition: all 0.2s ease; } .tip-item:hover { background: #e9ecef; transform: none; } .tip-item i { color: #6c757d; font-size: 1rem; min-width: 16px; } .tip-item span { color: #495057; font-weight: 400; font-size: 0.9rem; } @media (max-width: 768px) { .tool-header { padding: 2rem 0; } .tool-title-section { flex-direction: column; text-align: center; gap: 1rem; } .tool-icon { width: 60px; height: 60px; font-size: 2rem; } .tool-title { font-size: 2rem; } .tool-badges { flex-direction: row; justify-content: center; flex-wrap: wrap; } .tool-card-body { padding: 1.5rem; } .qr-actions { flex-direction: column; align-items: center; } .tips-grid { grid-template-columns: 1fr; } } .password-actions { display: flex; gap: 0.5rem; } .btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; border-radius: 8px; } .strength-meter-container { background: #f8f9fa; padding: 1.5rem; border-radius: 12px; border: 2px solid #e9ecef; } .strength-label { font-weight: 600; color: #2d3748; } .strength-value { font-weight: 700; font-size: 1.1rem; } .strength-progress { height: 12px; border-radius: 10px; background-color: #e9ecef; overflow: hidden; } .strength-progress .progress-bar { border-radius: 10px; transition: all 0.6s ease; } .strength-details { font-size: 0.9rem; line-height: 1.6; } .tip-do { background: linear-gradient(135deg, #f0fff4, #e6fffa); border: 1px solid #c6f6d5; } .tip-do i { color: #38a169; } .tip-dont { background: linear-gradient(135deg, #fef5e7, #fed7d7); border: 1px solid #feb2b2; } .tip-dont i { color: #e53e3e; } .tip-do:hover { background: linear-gradient(135deg, #e6fffa, #c6f6d5); border-color: #9ae6b4; } .tip-dont:hover { background: linear-gradient(135deg, #fed7d7, #fbb6ce); border-color: #fc8181; } .json-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-top: 1.5rem; } .json-output-actions { display: flex; gap: 0.5rem; } .modern-form .form-floating label { font-weight: 600; color: #718096; } .modern-form .form-floating .form-control:focus ~ label, .modern-form .form-floating .form-control:not(:placeholder-shown) ~ label { color: #667eea; transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); } .btn-outline-secondary { border: 2px solid #e9ecef; color: #6c757d; border-radius: 10px; font-weight: 600; transition: all 0.3s ease; } .btn-outline-secondary:hover { background: #6c757d; border-color: #6c757d; color: white; transform: translateY(-1px); } .tool-card .progress { height: 8px; border-radius: 10px; background-color: #f1f3f4; overflow: hidden; } .tool-card .progress-bar { border-radius: 10px; transition: width 0.6s ease; } .tool-card pre { background: #f8f9fa; border: 2px solid #e9ecef; border-radius: 12px; padding: 1.5rem; max-height: 400px; overflow-y: auto; } .tool-card code { font-family: 'Consolas', 'Monaco', 'Courier New', monospace; font-size: 0.9rem; line-height: 1.6; } .tool-card .form-control[type="file"] { border: 2px dashed #cbd5e0; background: #f7fafc; padding: 2rem; text-align: center; border-radius: 12px; transition: all 0.3s ease; } .tool-card .form-control[type="file"]:hover { border-color: #667eea; background: #edf2f7; } .tool-card .alert { border: none; border-radius: 12px; padding: 1rem 1.5rem; border-left: 4px solid; } .tool-card .alert-info { background: linear-gradient(135deg, #ebf8ff, #bee3f8); border-left-color: #3182ce; color: #2a69ac; } .tool-card .alert-success { background: linear-gradient(135deg, #f0fff4, #c6f6d5); border-left-color: #38a169; color: #22543d; } .tool-card .alert-danger { background: linear-gradient(135deg, #fed7d7, #fbb6ce); border-left-color: #e53e3e; color: #742a2a; } .tool-card .input-group .form-control { border-right: none; } .tool-card .input-group .btn { border-left: none; border-radius: 0 12px 12px 0; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; margin: 1.5rem 0; } .stat-item { text-align: center; padding: 1rem; background: #f8f9fa; border-radius: 12px; border: 2px solid #e9ecef; transition: all 0.3s ease; } .stat-item:hover { background: #e9ecef; transform: translateY(-2px); } .stat-value { font-size: 1.5rem; font-weight: 700; color: #667eea; margin-bottom: 0.25rem; } .stat-label { font-size: 0.8rem; color: #718096; text-transform: uppercase; letter-spacing: 0.5px; } @media (max-width: 768px) { .json-actions { grid-template-columns: 1fr; } .json-output-actions { flex-direction: column; gap: 0.75rem; } .tool-card .form-control[type="file"] { padding: 1.5rem 1rem; } .stats-grid { grid-template-columns: repeat(2, 1fr); } }