.test-container { min-height: 400px; } .test-container-fullscreen { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: #f5f5f5; z-index: 1500; overflow: hidden; padding: 0; display: flex; flex-direction: column; } .test-duration-selection { text-align: center; } .test-duration-selection h2 { color: #2c3e50; margin-bottom: 2rem; } .test-error { background-color: #f8d7da; color: #721c24; padding: 1rem; border-radius: 4px; margin-bottom: 1rem; } .duration-buttons { display: flex; flex-direction: column; gap: 1rem; } .duration-button { background-color: #3498db; color: white; border: none; padding: 1.5rem; border-radius: 8px; cursor: pointer; transition: background-color 0.2s, transform 0.1s; text-align: center; } .duration-button:hover:not(:disabled) { background-color: #2980b9; transform: translateY(-2px); } .duration-button:disabled { background-color: #bdc3c7; cursor: not-allowed; } .duration-label { font-size: 1.25rem; font-weight: bold; margin-bottom: 0.5rem; } .duration-count { font-size: 0.9rem; opacity: 0.9; } .test-loading { margin-top: 2rem; text-align: center; color: #666; } .test-screen { min-height: 100vh; padding-top: 3rem; } .test-progress { margin-top: 1rem; text-align: center; display: flex; justify-content: center; align-items: center; width: 100%; } .test-progress .progress-text { font-size: 1.5rem; color: #2c3e50; font-weight: 500; } .test-card-container { display: flex; justify-content: center; align-items: center; min-height: 300px; perspective: 1000px; } .test-card { width: 100%; max-width: 400px; height: 500px; position: relative; transform-style: preserve-3d; transition: transform 0.6s; cursor: pointer; } .test-card.flipped { transform: rotateY(180deg); } .test-card-front, .test-card-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); display: flex; align-items: center; justify-content: center; } .test-card-front { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; } .test-card-back { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: white; transform: rotateY(180deg); } .test-card-content { padding: 2rem; text-align: center; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; } .test-word { font-size: 3rem; font-weight: bold; margin-bottom: 0; } .test-translation { font-size: 2.5rem; margin-bottom: 0; } .test-card-hint { font-size: 0.9rem; opacity: 0.8; margin-top: 2rem; } .test-card-actions { display: flex; gap: 1rem; width: 100%; justify-content: center; margin-top: auto; padding-top: 2rem; position: absolute; bottom: 2rem; left: 0; right: 0; } .test-action-button { padding: 1.25rem 2.5rem; border: none; border-radius: 8px; font-size: 1.25rem; font-weight: bold; cursor: pointer; transition: transform 0.1s, opacity 0.2s; min-width: 160px; } .test-action-button:hover { transform: scale(1.05); } .test-action-button:active { transform: scale(0.95); } .success-button { background-color: #27ae60; color: white; } .success-button:hover { background-color: #229954; } .failure-button { background-color: #e74c3c; color: white; } .failure-button:hover { background-color: #c0392b; } .test-results { width: 100%; height: 100%; display: flex; flex-direction: column; padding: 0; box-sizing: border-box; position: relative; overflow: hidden; } .results-stats { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; align-content: start; overflow-y: auto; overflow-x: hidden; padding: 4rem 1rem 1rem 1rem; box-sizing: border-box; width: 100%; min-height: 0; } .result-item { border: 1px solid #ddd; border-radius: 8px; padding: 1rem; background: #fafafa; transition: transform 0.2s, box-shadow 0.2s; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; } .result-item:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .result-item:last-child { margin-bottom: 2rem; } .result-word-content { flex: 1; } .result-word-header { margin-bottom: 0.75rem; } .result-word { font-size: 1.25rem; font-weight: bold; color: #2c3e50; margin: 0; } .result-translation { font-size: 1rem; color: #34495e; font-weight: 500; margin-bottom: 0.5rem; } .result-stats { display: flex; align-items: center; font-size: 1.5rem; font-weight: bold; white-space: nowrap; } .result-stat-success { color: #3498db; } .result-stat-separator { color: #7f8c8d; margin: 0 0.25rem; } .result-stat-failure { color: #e74c3c; } .test-preview { width: 100%; height: 100%; display: flex; flex-direction: column; padding: 0; box-sizing: border-box; position: relative; overflow: hidden; } .preview-stats { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; align-content: start; overflow-y: auto; overflow-x: hidden; padding: 4rem 1rem 1rem 1rem; box-sizing: border-box; width: 100%; min-height: 0; } .preview-item { border: 1px solid #ddd; border-radius: 8px; padding: 1rem; background: #fafafa; transition: transform 0.2s, box-shadow 0.2s; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; align-self: start; } .preview-item:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .preview-word-content { flex: 1; } .preview-word-header { margin-bottom: 0.75rem; } .preview-word { font-size: 1.25rem; font-weight: bold; color: #2c3e50; margin: 0; } .preview-translation { font-size: 1rem; color: #34495e; font-weight: 500; margin-bottom: 0.5rem; } .preview-stats-numbers { display: flex; align-items: center; font-size: 1.5rem; font-weight: bold; white-space: nowrap; } .preview-stat-success { color: #3498db; } .preview-stat-separator { color: #7f8c8d; margin: 0 0.25rem; } .preview-stat-failure { color: #e74c3c; } .preview-actions { display: flex; justify-content: center; padding: 1rem; flex-shrink: 0; background-color: #f5f5f5; border-top: 1px solid #e0e0e0; position: relative; z-index: 10; } .test-start-button { padding: 1.25rem 3rem; background-color: #27ae60; color: white; border: none; border-radius: 8px; font-size: 1.5rem; font-weight: bold; cursor: pointer; transition: transform 0.1s, background-color 0.2s; min-width: 200px; } .test-start-button:hover { background-color: #229954; transform: scale(1.05); } .test-start-button:active { transform: scale(0.95); } .results-actions { display: flex; justify-content: center; padding: 1rem; flex-shrink: 0; background-color: #f5f5f5; border-top: 1px solid #e0e0e0; position: relative; z-index: 10; } .test-finish-button { padding: 1.25rem 3rem; background-color: #3498db; color: white; border: none; border-radius: 8px; font-size: 1.5rem; font-weight: bold; cursor: pointer; transition: transform 0.1s, background-color 0.2s; min-width: 200px; } .test-finish-button:hover { background-color: #2980b9; transform: scale(1.05); } .test-finish-button:active { transform: scale(0.95); }