/* 🎓 IHK INTERACTIVE TOOLS & EXAM STYLES 🎓 */ .ihk-tool-card { background: #1e293b; border: 1px solid #334155; border-radius: 12px; padding: 24px; margin: 24px 0; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3); color: #f8fafc; font-family: inherit; } .ihk-tool-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #334155; padding-bottom: 16px; margin-bottom: 20px; } .ihk-tool-title { font-size: 1.35rem; font-weight: 700; color: #38bdf8; display: flex; align-items: center; gap: 10px; } .ihk-badge { display: inline-block; padding: 4px 10px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 9999px; background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); } .ihk-badge-success { background: rgba(34, 197, 94, 0.15); color: #4ade80; border-color: rgba(34, 197, 94, 0.3); } .ihk-badge-warning { background: rgba(234, 179, 8, 0.15); color: #facc15; border-color: rgba(234, 179, 8, 0.3); } .ihk-badge-danger { background: rgba(239, 68, 68, 0.15); color: #f87171; border-color: rgba(239, 68, 68, 0.3); } .ihk-input-group { margin-bottom: 16px; } .ihk-input-group label { display: block; font-size: 0.85rem; font-weight: 600; color: #94a3b8; margin-bottom: 6px; } .ihk-input, .ihk-select { width: 100%; background: #0f172a; border: 1px solid #475569; border-radius: 6px; padding: 10px 14px; color: #f8fafc; font-size: 0.95rem; transition: all 0.2s; box-sizing: border-box; } .ihk-input:focus, .ihk-select:focus { outline: none; border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2); } .ihk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #0284c7; color: white; font-weight: 600; padding: 10px 20px; border-radius: 6px; border: none; cursor: pointer; transition: background 0.2s, transform 0.1s; } .ihk-btn:hover { background: #0369a1; } .ihk-btn:active { transform: scale(0.98); } .ihk-btn-success { background: #16a34a; } .ihk-btn-success:hover { background: #15803d; } .ihk-btn-secondary { background: #475569; } .ihk-btn-secondary:hover { background: #334155; } .ihk-result-box { margin-top: 20px; padding: 16px; border-radius: 8px; background: #0f172a; border: 1px solid #334155; display: none; } .ihk-result-box.active { display: block; } .ihk-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.9rem; } .ihk-table th, .ihk-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid #334155; } .ihk-table th { background: #0f172a; color: #38bdf8; font-weight: 600; } .ihk-table tr:hover td { background: rgba(56, 189, 248, 0.05); } /* Exam Timer Widget */ .ihk-exam-banner { position: sticky; top: 0; z-index: 50; background: #0f172a; border-bottom: 2px solid #0284c7; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); } .ihk-timer-display { font-family: monospace; font-size: 1.4rem; font-weight: 700; color: #38bdf8; background: #1e293b; padding: 4px 14px; border-radius: 6px; border: 1px solid #334155; } .ihk-timer-warning { color: #f87171 !important; border-color: #ef4444 !important; animation: pulse 1s infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }