body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; padding: 20px; background-color: #f5f5f5; line-height: 1.6; } .container { max-width: 1200px; margin: 0 auto; background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } h1, h2, h3 { color: #2c3e50; } .input-section { margin-bottom: 30px; background: #f8f9fa; padding: 20px; border-radius: 8px; } .instructions { margin-bottom: 20px; } .instructions ol { padding-left: 20px; } .example-grid { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 10px; margin-top: 15px; background: #eef7ff; padding: 10px; border-radius: 5px; font-family: monospace; } .example-header { font-weight: bold; align-self: center; } .example-col div { padding: 5px 0; } .input-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; } .input-col { display: flex; flex-direction: column; } .input-col h3 { margin-top: 0; color: #3498db; } textarea { height: 200px; padding: 10px; border: 1px solid #ddd; border-radius: 4px; resize: vertical; font-family: monospace; } .actions { margin-top: 20px; display: flex; gap: 10px; } button { padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; transition: background 0.2s; } #processBtn { background: #3498db; color: white; } #processBtn:hover { background: #2980b9; } #resetBtn { background: #e74c3c; color: white; } #resetBtn:hover { background: #c0392b; } .output-section { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } #outputResult { margin-top: 15px; padding: 15px; background: #f8f9fa; border-radius: 5px; min-height: 100px; } .result-table { width: 100%; border-collapse: collapse; margin-top: 15px; } .result-table th, .result-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #ddd; } .result-table th { background-color: #3498db; color: white; } .result-table tr:nth-child(even) { background-color: #f2f2f2; } .result-table tr:hover { background-color: #e6f7ff; } /* Additional styles for specific formatting */ .result-table td:empty { background-color: #f9f9f9; } .result-table tr:not(:first-child) td:first-child:empty::before { content: ""; display: inline-block; width: 20px; } .error { color: #e74c3c; padding: 10px; background-color: #fde8e8; border-radius: 4px; margin-top: 10px; } .result-table td:first-child:empty { position: relative; } .result-table td:first-child:empty::before { content: ""; display: inline-block; width: 20px; } .result-table tr:nth-child(even) { background-color: #f8f8f8; } .result-table tr:hover { background-color: #f0f7ff; } /* Format khusus untuk grup kaset */ .group-info { font-size: 0.9em; color: #666; margin-left: 5px; } .config-section { background: #f0f7ff; padding: 15px; border-radius: 8px; margin-bottom: 20px; } .form-group { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; } .form-group label { font-weight: bold; min-width: 100px; } .form-group input { padding: 8px; width: 60px; } .team-form { background: #f8f8f8; padding: 15px; border-radius: 8px; margin-bottom: 20px; border-left: 4px solid #3498db; } .team-form h3 { margin-top: 0; color: #2c3e50; } .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; } @media print { @page { size: A4 landscape; margin: 0; } body { margin: 0; padding: 5mm; transform: none; } .print-container { display: grid; grid-template-rows: auto auto; grid-template-columns: repeat(4, 1fr); gap: 15mm; width: 100%; } .print-team { border: 1px solid #000; padding: 5mm; page-break-inside: avoid; } .no-print { display: none !important; } } /* Enhanced table styling */ .result-table td:nth-child(3) { font-family: monospace; white-space: nowrap; } .group-info { font-size: 0.9em; color: #555; margin-left: 5px; } /* Button styling */ #printBtn { background-color: #4CAF50; } #printBtn:hover { background-color: #45a049; } /* Login Page Styles */ .login-page { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f5f5f5; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .login-container { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); width: 350px; text-align: center; } .login-container h1 { color: #2c3e50; margin-bottom: 20px; } .login-container .form-group { margin-bottom: 20px; text-align: left; } .login-container label { display: block; margin-bottom: 5px; font-weight: bold; color: #555; } .login-container input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; } .login-container button { width: 100%; padding: 12px; background-color: #3498db; color: white; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; transition: background 0.2s; } .login-container button:hover { background-color: #2980b9; } .login-container .error { color: #e74c3c; margin-top: 10px; font-size: 14px; }