/* Reset and Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: #333; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Header */ .header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.2); position: sticky; top: 0; z-index: 100; } .header-content { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; } .logo { display: flex; align-items: center; gap: 0.5rem; } .logo i { font-size: 2rem; color: #667eea; } .logo h1 { font-size: 1.8rem; font-weight: 700; color: #333; } .status-indicator { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: #f8f9fa; border-radius: 20px; font-size: 0.9rem; } .status-indicator.online i { color: #28a745; } .status-indicator.offline i { color: #dc3545; } .status-indicator.checking i { color: #ffc107; animation: pulse 1.5s infinite; } /* Main Content */ .main { padding: 2rem 0; min-height: calc(100vh - 140px); } /* Hero Section */ .hero { text-align: center; margin-bottom: 3rem; color: white; } .hero h2 { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); } .hero p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; } /* Cards */ .card { background: white; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); margin-bottom: 2rem; overflow: hidden; } .card-header { padding: 1.5rem; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-bottom: 1px solid #dee2e6; display: flex; justify-content: space-between; align-items: center; } .card-header h3 { font-size: 1.3rem; font-weight: 600; color: #333; display: flex; align-items: center; gap: 0.5rem; } .card-body { padding: 2rem; } /* Forms */ .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #555; } .input-group { position: relative; display: flex; align-items: center; } .input-group i { position: absolute; left: 1rem; color: #999; z-index: 2; } .input-group input { width: 100%; padding: 1rem 1rem 1rem 3rem; border: 2px solid #e9ecef; border-radius: 12px; font-size: 1rem; transition: all 0.3s ease; background: #f8f9fa; } .input-group input:focus { outline: none; border-color: #667eea; background: white; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); } /* Buttons */ .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border: none; border-radius: 12px; font-size: 1rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: all 0.3s ease; text-align: center; } .btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3); } .btn-secondary { background: #6c757d; color: white; } .btn-secondary:hover { background: #5a6268; } .btn-success { background: linear-gradient(135deg, #28a745 0%, #20c997 100%); color: white; } .btn-success:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3); } .btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; } .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; } .form-actions { text-align: center; margin-top: 2rem; } /* Loading */ .spinner { width: 50px; height: 50px; border: 4px solid #f3f3f3; border-top: 4px solid #667eea; border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 1rem; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } /* Stats Grid */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; } .stat-card { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); padding: 1.5rem; border-radius: 12px; text-align: center; } .stat-card .stat-value { font-size: 2rem; font-weight: 700; color: #667eea; display: block; } .stat-card .stat-label { font-size: 0.9rem; color: #666; margin-top: 0.5rem; } /* Tabs */ .results-tabs { margin-top: 2rem; } .tab-buttons { display: flex; border-bottom: 2px solid #e9ecef; margin-bottom: 1.5rem; gap: 0.5rem; } .tab-btn { padding: 0.75rem 1.5rem; border: none; background: none; color: #666; font-weight: 500; cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.3s ease; } .tab-btn.active { color: #667eea; border-bottom-color: #667eea; } .tab-btn:hover { color: #667eea; } .tab-pane { display: none; } .tab-pane.active { display: block; } /* Overview Content */ .overview-item { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: #f8f9fa; border-radius: 8px; margin-bottom: 0.5rem; } .overview-item .label { font-weight: 500; color: #555; } .overview-item .value { color: #333; font-weight: 600; } /* Links List */ .link-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: #f8f9fa; border-radius: 8px; margin-bottom: 0.5rem; } .link-item i { color: #667eea; } .link-item a { color: #333; text-decoration: none; flex: 1; word-break: break-all; } .link-item a:hover { color: #667eea; } /* Images Grid */ .images-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; } .image-item { background: #f8f9fa; border-radius: 8px; padding: 1rem; text-align: center; } .image-item img { max-width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 0.5rem; } .image-item .image-url { font-size: 0.8rem; color: #666; word-break: break-all; } /* JSON Output */ .json-output { background: #2d3748; color: #e2e8f0; padding: 1.5rem; border-radius: 8px; overflow-x: auto; font-family: 'Courier New', Courier, monospace; font-size: 0.9rem; line-height: 1.5; } /* Error Card */ .error-card { border-left: 4px solid #dc3545; } .error-card .card-body { text-align: center; } .error-card i { font-size: 3rem; color: #dc3545; margin-bottom: 1rem; } .error-card h3 { color: #dc3545; margin-bottom: 1rem; } /* Footer */ .footer { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, 0.2); padding: 1rem 0; text-align: center; color: #666; } /* Utilities */ .text-center { text-align: center; } /* Responsive */ @media (max-width: 768px) { .hero h2 { font-size: 2rem; } .hero p { font-size: 1rem; } .card-body { padding: 1.5rem; } .stats-grid { grid-template-columns: 1fr; } .tab-buttons { flex-wrap: wrap; } .header-content { flex-direction: column; gap: 1rem; } }