* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .goog-text-highlight { background: none !important; box-shadow: none !important; } .goog-te-banner-frame { display: none !important; height: 0 !important; visibility: hidden !important; } body { background-color: #f0f2f5; color: #333; overflow: hidden; } .kiosk-container { width: 100vw; height: 100vh; display: flex; flex-direction: column; background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); color: white; } .header { padding: 15px; background-color: rgba(0, 0, 0, 0.2); text-align: center; border-bottom: 2px solid rgba(255, 255, 255, 0.1); position: relative; } .header h1 { font-size: 2.2rem; margin-bottom: 5px; } .header p { font-size: 1rem; opacity: 0.8; } .user-info { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); padding: 5px 10px; border-radius: 20px; font-size: 0.9rem; display: none; } .main-content { display: flex; flex: 1; overflow: hidden; } .sidebar { width: 250px; background-color: rgba(0, 0, 0, 0.2); padding: 20px 0; overflow-y: auto; transition: width 0.3s; } .sidebar.collapsed { width: 60px; } .sidebar.collapsed .menu-item span { display: none; } .sidebar.collapsed .menu-item i { margin-right: 0; font-size: 1.5rem; } .toggle-sidebar { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: white; font-size: 1.2rem; cursor: pointer; } .menu-item { padding: 15px 20px; cursor: pointer; transition: all 0.3s; border-left: 4px solid transparent; display: flex; align-items: center; white-space: nowrap; } .menu-item:hover { background-color: rgba(255, 255, 255, 0.1); } .menu-item.active { background-color: rgba(255, 255, 255, 0.2); border-left: 4px solid #4CAF50; } .menu-item i { margin-right: 10px; font-size: 1.2rem; min-width: 20px; text-align: center; } .content-area { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; transition: margin-left 0.3s; } .training-section { display: none; flex: 1; flex-direction: column; animation: fadeIn 0.5s ease-out; } .training-section.active { display: flex; } .section-title { font-size: 1.8rem; margin-bottom: 20px; color: #fff; padding-bottom: 10px; border-bottom: 2px solid rgba(255, 255, 255, 0.2); } .video-container { width: 100%; max-width: 800px; margin: 0 auto 20px; background-color: #000; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 8px rgba(0,0,0,0.3); } .video-container video { width: 100%; display: block; } .document-container, .visitor-form, .quiz-container { background-color: rgba(255, 255, 255, 0.9); border-radius: 8px; padding: 25px; color: #333; flex: 1; overflow-y: auto; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .document-container h3, .quiz-container h3 { color: #1e3c72; margin-bottom: 15px; font-size: 1.4rem; } .document-container h4 { color: #2a5298; margin: 15px 0 10px; font-size: 1.2rem; } .document-container p { margin-bottom: 15px; line-height: 1.6; } .document-container ul, .document-container ol { margin-bottom: 15px; padding-left: 25px; } .document-container li { margin-bottom: 8px; line-height: 1.5; } .quiz-question { margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee; } .quiz-question:last-child { border-bottom: none; } .quiz-question h3 { margin-bottom: 15px; } .quiz-option { margin-bottom: 10px; padding: 8px 10px; border-radius: 4px; transition: background-color 0.2s; } .quiz-option:hover { background-color: #f5f5f5; } .quiz-option label { display: flex; align-items: center; cursor: pointer; } .quiz-option input { margin-right: 10px; transform: scale(1.2); } .btn { padding: 12px 24px; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 1rem; transition: all 0.3s; align-self: flex-end; min-width: 150px; text-align: center; font-weight: 600; box-shadow: 0 2px 5px rgba(0,0,0,0.2); } .btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); } .btn:active { transform: translateY(0); } .btn-acknowledge { background-color: #4CAF50; } .btn-acknowledge:hover { background-color: #45a049; } .btn-print { background-color: #2196F3; margin-right: 10px; } .btn-print:hover { background-color: #0b7dda; } .btn-submit { background-color: #ff9800; } .btn-submit:hover { background-color: #e68a00; } .btn-secondary { background-color: #6c757d; } .btn-secondary:hover { background-color: #5a6268; } .footer { padding: 10px; text-align: center; background-color: rgba(0, 0, 0, 0.3); font-size: 0.9rem; } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #1e3c72; } .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; transition: border-color 0.3s; } .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #1e3c72; outline: none; box-shadow: 0 0 0 2px rgba(30, 60, 114, 0.2); } .form-group input[type="checkbox"] { width: auto; margin-right: 10px; } .form-row { display: flex; gap: 15px; } .form-row .form-group { flex: 1; } .button-group { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; } /* Feedback Message Styles */ .feedback-message { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); padding: 15px 30px; border-radius: 6px; color: white; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: space-between; max-width: 90%; animation: slideIn 0.3s ease-out; backdrop-filter: blur(5px); } .feedback-message.success { background-color: rgba(76, 175, 80, 0.9); } .feedback-message.error { background-color: rgba(244, 67, 54, 0.9); } .feedback-message.warning { background-color: rgba(255, 152, 0, 0.9); } .feedback-message.info { background-color: rgba(33, 150, 243, 0.9); } .close-btn { background: none; border: none; color: white; font-size: 20px; margin-left: 15px; cursor: pointer; padding: 0 0 0 10px; opacity: 0.8; transition: opacity 0.2s; } .close-btn:hover { opacity: 1; } .spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.3); border-radius: 50%; border-top-color: white; animation: spin 1s ease-in-out infinite; margin-right: 10px; } .progress-container { width: 100%; background-color: rgba(255,255,255,0.2); border-radius: 10px; margin: 20px 0; height: 10px; overflow: hidden; } .progress-bar { height: 100%; background-color: #4CAF50; width: 0%; transition: width 0.5s ease; } .training-complete { background-color: rgba(76, 175, 80, 0.2); border-left: 4px solid #4CAF50; } .training-complete i::after { content: "✓"; margin-left: 5px; font-size: 0.8em; } .error-highlight { animation: errorPulse 0.5s; } @keyframes spin { to { transform: rotate(360deg); } } @keyframes slideIn { from { top: -50px; opacity: 0; } to { top: 20px; opacity: 1; } } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @keyframes errorPulse { 0% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(244, 67, 54, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0); } } @media (max-width: 992px) { .sidebar { width: 200px; } } @media (max-width: 768px) { .main-content { flex-direction: column; } .sidebar { width: 100%; height: auto; overflow-y: visible; display: flex; flex-wrap: wrap; padding: 10px 0; } .menu-item { flex: 1 0 150px; justify-content: center; border-left: none; border-bottom: 4px solid transparent; padding: 10px; } .menu-item.active { border-left: none; border-bottom: 4px solid #4CAF50; } .header h1 { font-size: 1.8rem; padding: 0 40px; } .toggle-sidebar { display: none; } .user-info { position: static; transform: none; margin-top: 10px; display: inline-block !important; } } @media (max-width: 576px) { .content-area { padding: 15px; } .section-title { font-size: 1.5rem; } .document-container, .visitor-form, .quiz-container { padding: 15px; } .form-row { flex-direction: column; gap: 0; } .btn { padding: 10px 15px; min-width: 120px; } .button-group { flex-direction: column-reverse; gap: 10px; } .button-group .btn { width: 100%; } } @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css'); .goog-te-banner-frame { display: none !important; height: 0px !important; visibility: hidden !important; } body { top: 0px !important; position: relative !important; } #goog-gt-tt, .goog-te-balloon-frame { display: none !important; } .goog-text-highlight { background-color: transparent !important; box-shadow: none !important; } .goog-te-gadget-icon { display: none !important; } #google_translate_element { font-size: 0.85rem; line-height: 1.2rem; }