| | * { |
| | margin: 0; |
| | padding: 0; |
| | box-sizing: border-box; |
| | } |
| |
|
| | body { |
| | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; |
| | background: #F5F5F5; |
| | min-height: 100vh; |
| | display: flex; |
| | justify-content: center; |
| | align-items: center; |
| | padding: 20px; |
| | } |
| |
|
| | .container { |
| | background: white; |
| | border-radius: 16px; |
| | padding: 40px; |
| | box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); |
| | max-width: 700px; |
| | width: 100%; |
| | animation: slideIn 0.4s ease; |
| | max-height: 90vh; |
| | overflow-y: auto; |
| | } |
| |
|
| | @keyframes slideIn { |
| | from { opacity: 0; transform: translateY(20px); } |
| | to { opacity: 1; transform: translateY(0); } |
| | } |
| |
|
| | h1 { |
| | color: #3D3D3D; |
| | font-size: 32px; |
| | margin-bottom: 8px; |
| | text-align: center; |
| | font-weight: 800; |
| | } |
| |
|
| | h3 { |
| | text-align: center; |
| | color: #3D3D3D; |
| | } |
| |
|
| | p { |
| | color: #6B7280; |
| | text-align: center; |
| | margin-bottom: 30px; |
| | font-size: 15px; |
| | } |
| |
|
| | .subtitle { |
| | color: #9CA3AF; |
| | font-size: 14px; |
| | text-align: center; |
| | margin-bottom: 25px; |
| | line-height: 1.6; |
| | } |
| |
|
| | |
| | input[type="text"], input[type="password"] { |
| | width: 100%; |
| | padding: 12px 16px; |
| | font-size: 15px; |
| | border: none; |
| | background: #F5F5F5; |
| | border-radius: 10px; |
| | transition: all 0.2s; |
| | outline: none; |
| | } |
| |
|
| | input:focus { |
| | background: #EBEBEB; |
| | box-shadow: 0 0 0 2px #E5E5E5; |
| | } |
| |
|
| | |
| | button, .btn, .nav-btn, .submit-btn { |
| | padding: 12px 24px; |
| | font-size: 15px; |
| | background: #3D3D3D; |
| | color: white; |
| | border: none; |
| | border-radius: 10px; |
| | cursor: pointer; |
| | transition: all 0.2s; |
| | font-weight: 600; |
| | text-decoration: none; |
| | display: inline-block; |
| | } |
| |
|
| | button:hover, .btn:hover, .nav-btn:hover, .submit-btn:hover { |
| | background: #1A1A1A; |
| | transform: translateY(-1px); |
| | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); |
| | } |
| |
|
| | button:active, .btn:active { |
| | transform: translateY(0); |
| | } |
| |
|
| | button:disabled { |
| | background: #E5E5E5; |
| | color: #999; |
| | cursor: not-allowed; |
| | transform: none; |
| | } |
| |
|
| | .nav-btn:disabled { |
| | opacity: 0.3; |
| | cursor: not-allowed; |
| | transform: none; |
| | } |
| |
|
| | |
| | .logout-btn, .reset-btn { |
| | background: #6B7280; |
| | padding: 8px 16px; |
| | font-size: 13px; |
| | margin-top: 15px; |
| | } |
| |
|
| | .logout-btn:hover, .reset-btn:hover { |
| | background: #4B5563; |
| | box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3); |
| | } |
| |
|
| | |
| | .submit-btn { |
| | width: 100%; |
| | padding: 16px; |
| | font-size: 16px; |
| | margin-top: 10px; |
| | } |
| |
|
| | |
| | .auth-form input { |
| | width: 100%; |
| | margin-bottom: 15px; |
| | } |
| |
|
| | .auth-form button { |
| | width: 100%; |
| | } |
| |
|
| | .switch-link { |
| | color: #3D3D3D; |
| | text-decoration: none; |
| | cursor: pointer; |
| | font-weight: 600; |
| | margin-top: 15px; |
| | display: inline-block; |
| | transition: color 0.2s; |
| | } |
| |
|
| | .switch-link:hover { |
| | color: #1A1A1A; |
| | text-decoration: underline; |
| | } |
| |
|
| | |
| | .question-block { |
| | background: #FAFAFA; |
| | padding: 30px; |
| | border-radius: 12px; |
| | margin-bottom: 20px; |
| | border: none; |
| | display: none; |
| | min-height: 400px; |
| | } |
| |
|
| | .question-block.active { |
| | display: block; |
| | animation: fadeIn 0.3s ease; |
| | } |
| |
|
| | @keyframes fadeIn { |
| | from { opacity: 0; transform: translateX(20px); } |
| | to { opacity: 1; transform: translateX(0); } |
| | } |
| |
|
| | .question-block h4 { |
| | color: #3D3D3D; |
| | margin-bottom: 25px; |
| | font-weight: 700; |
| | font-size: 18px; |
| | line-height: 1.6; |
| | } |
| |
|
| | .question-number { |
| | display: inline-block; |
| | background: #3D3D3D; |
| | color: #fff; |
| | width: 32px; |
| | height: 32px; |
| | border-radius: 50%; |
| | text-align: center; |
| | line-height: 32px; |
| | margin-right: 12px; |
| | font-size: 16px; |
| | } |
| |
|
| | |
| | .option { |
| | display: block; |
| | padding: 16px 20px; |
| | margin-bottom: 12px; |
| | background: white; |
| | border: none; |
| | border-radius: 10px; |
| | cursor: pointer; |
| | transition: all 0.2s; |
| | font-size: 15px; |
| | color: #3D3D3D; |
| | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); |
| | } |
| |
|
| | .option:hover { |
| | background: #F5F5F5; |
| | transform: translateX(5px); |
| | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); |
| | } |
| |
|
| | .option input[type="radio"] { |
| | margin-right: 12px; |
| | cursor: pointer; |
| | width: 18px; |
| | height: 18px; |
| | } |
| |
|
| | .option input[type="radio"]:disabled { |
| | cursor: not-allowed; |
| | opacity: 0.5; |
| | } |
| |
|
| | .option:has(input[type="radio"]:disabled) { |
| | opacity: 0.4; |
| | cursor: not-allowed; |
| | } |
| |
|
| | .option:has(input[type="radio"]:disabled):hover { |
| | background: white; |
| | transform: none; |
| | } |
| |
|
| | |
| | .question-counter { |
| | text-align: center; |
| | color: #999; |
| | font-size: 14px; |
| | margin-bottom: 15px; |
| | font-weight: 600; |
| | } |
| |
|
| | .progress-bar { |
| | background: #F5F5F5; |
| | height: 8px; |
| | border-radius: 4px; |
| | overflow: hidden; |
| | margin-bottom: 20px; |
| | } |
| |
|
| | .progress-fill { |
| | background: #3D3D3D; |
| | height: 100%; |
| | transition: width 0.3s; |
| | } |
| |
|
| | |
| | .nav-buttons { |
| | display: flex; |
| | gap: 12px; |
| | justify-content: space-between; |
| | margin-top: 20px; |
| | } |
| |
|
| | .buttons-row { |
| | display: flex; |
| | gap: 10px; |
| | justify-content: center; |
| | margin-top: 20px; |
| | } |
| |
|
| | |
| | .result-card { |
| | padding: 25px; |
| | border-radius: 12px; |
| | margin-bottom: 20px; |
| | border: none; |
| | box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); |
| | } |
| |
|
| | .result-card.rank-1 { |
| | background: #FFFACD; |
| | } |
| |
|
| | .result-card.rank-2 { |
| | background: #B4C7E7; |
| | } |
| |
|
| | .result-card.rank-3 { |
| | background: #90EE90; |
| | } |
| |
|
| | .result-header { |
| | display: flex; |
| | align-items: center; |
| | justify-content: space-between; |
| | margin-bottom: 15px; |
| | } |
| |
|
| | .result-rank { |
| | color: #fff; |
| | width: 40px; |
| | height: 40px; |
| | border-radius: 50%; |
| | display: flex; |
| | align-items: center; |
| | justify-content: center; |
| | font-size: 20px; |
| | font-weight: 800; |
| | background: #3D3D3D; |
| | } |
| |
|
| | .result-title { |
| | flex: 1; |
| | margin-left: 15px; |
| | } |
| |
|
| | .result-title h3 { |
| | font-size: 22px; |
| | margin-bottom: 5px; |
| | color: #3D3D3D; |
| | } |
| |
|
| | .result-percentage { |
| | font-size: 24px; |
| | font-weight: 800; |
| | color: #3D3D3D; |
| | } |
| |
|
| | .result-description { |
| | color: #666; |
| | line-height: 1.6; |
| | margin-bottom: 12px; |
| | font-size: 14px; |
| | } |
| |
|
| | .result-details { |
| | background: rgba(255, 255, 255, 0.6); |
| | border: none; |
| | padding: 15px; |
| | border-radius: 8px; |
| | margin-top: 15px; |
| | } |
| |
|
| | .result-details h5 { |
| | color: #3D3D3D; |
| | font-size: 13px; |
| | margin-bottom: 8px; |
| | font-weight: 700; |
| | } |
| |
|
| | .result-details p { |
| | color: #666; |
| | font-size: 13px; |
| | margin-bottom: 10px; |
| | text-align: left; |
| | } |
| |
|
| | |
| | .icon { |
| | font-size: 24px; |
| | margin-right: 8px; |
| | } |
| |
|
| | .success-msg { |
| | color: #3D3D3D; |
| | font-weight: 600; |
| | } |
| |
|
| | .error-msg { |
| | color: #666; |
| | font-weight: 600; |
| | text-align: center; |
| | padding: 10px; |
| | } |
| |
|
| | |
| | .chat-toggle-btn { |
| | background: rgba(255, 255, 255, 0.8); |
| | color: #3D3D3D; |
| | border: none; |
| | padding: 10px 20px; |
| | border-radius: 8px; |
| | cursor: pointer; |
| | font-size: 14px; |
| | font-weight: 600; |
| | margin-top: 15px; |
| | width: 100%; |
| | transition: background 0.2s, color 0.2s; |
| | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); |
| | } |
| |
|
| | .chat-toggle-btn:hover { |
| | background: #3D3D3D; |
| | color: #fff; |
| | } |
| |
|
| | .chat-window { |
| | display: none; |
| | background: rgba(255, 255, 255, 0.9); |
| | border: none; |
| | border-radius: 10px; |
| | margin-top: 15px; |
| | overflow: hidden; |
| | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); |
| | } |
| |
|
| | .chat-window.open { |
| | display: block; |
| | animation: slideDown 0.3s ease; |
| | } |
| |
|
| | @keyframes slideDown { |
| | from { opacity: 0; max-height: 0; } |
| | to { opacity: 1; max-height: 500px; } |
| | } |
| |
|
| | .chat-messages { |
| | height: 250px; |
| | overflow-y: auto; |
| | padding: 15px; |
| | background: transparent; |
| | } |
| |
|
| | .chat-message { |
| | margin-bottom: 12px; |
| | padding: 10px 14px; |
| | border-radius: 8px; |
| | max-width: 85%; |
| | line-height: 1.5; |
| | font-size: 14px; |
| | } |
| |
|
| | .chat-message.user { |
| | background: #3D3D3D; |
| | color: #fff; |
| | margin-left: auto; |
| | text-align: right; |
| | } |
| |
|
| | .chat-message.bot { |
| | background: white; |
| | color: #3D3D3D; |
| | border: none; |
| | text-align: left; |
| | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04); |
| | } |
| |
|
| | .chat-message.bot ul { |
| | margin: 8px 0 0 0; |
| | padding-left: 20px; |
| | } |
| |
|
| | .chat-message.bot li { |
| | margin-bottom: 6px; |
| | line-height: 1.6; |
| | } |
| |
|
| | .chat-input-area { |
| | display: flex; |
| | gap: 8px; |
| | padding: 12px; |
| | background: transparent; |
| | border-top: none; |
| | } |
| |
|
| | .chat-input { |
| | flex: 1; |
| | padding: 10px 14px; |
| | border: none; |
| | background: white; |
| | border-radius: 8px; |
| | font-size: 14px; |
| | outline: none; |
| | color: #3D3D3D; |
| | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04); |
| | } |
| |
|
| | .chat-input:focus { |
| | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); |
| | } |
| |
|
| | .chat-send-btn { |
| | padding: 10px 20px; |
| | background: #3D3D3D; |
| | color: #fff; |
| | border: none; |
| | border-radius: 8px; |
| | cursor: pointer; |
| | font-weight: 600; |
| | font-size: 14px; |
| | transition: background 0.2s; |
| | } |
| |
|
| | .chat-send-btn:hover { |
| | background: #1A1A1A; |
| | color: #fff; |
| | } |
| |
|
| | .chat-send-btn:disabled { |
| | background: #F5F5F5; |
| | color: #999; |
| | cursor: not-allowed; |
| | } |
| |
|
| | .chat-typing { |
| | color: #999; |
| | font-style: italic; |
| | font-size: 13px; |
| | padding: 10px 14px; |
| | } |
| |
|
| |
|