|
* { |
|
margin: 0; |
|
padding: 0; |
|
box-sizing: border-box; |
|
} |
|
|
|
.App { |
|
text-align: center; |
|
} |
|
|
|
.App-logo { |
|
height: 40vmin; |
|
pointer-events: none; |
|
} |
|
|
|
@media (prefers-reduced-motion: no-preference) { |
|
.App-logo { |
|
animation: App-logo-spin infinite 20s linear; |
|
} |
|
} |
|
|
|
.App-header { |
|
background-color: #282c34; |
|
min-height: 100vh; |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
justify-content: center; |
|
font-size: calc(10px + 2vmin); |
|
color: white; |
|
text-align: center; |
|
padding: 2rem 1rem; |
|
color: white; |
|
background: rgba(0, 0, 0, 0.1); |
|
backdrop-filter: blur(10px); |
|
} |
|
|
|
.App-header h1 { |
|
font-size: 2.5rem; |
|
margin-bottom: 0.5rem; |
|
font-weight: 700; |
|
} |
|
|
|
.App-header p { |
|
font-size: 1.1rem; |
|
opacity: 0.9; |
|
} |
|
|
|
.App-link { |
|
color: #61dafb; |
|
} |
|
|
|
@keyframes App-logo-spin { |
|
from { |
|
transform: rotate(0deg); |
|
} |
|
to { |
|
transform: rotate(360deg); |
|
} |
|
} |
|
|
|
|
|
.progress-container { |
|
padding: 2rem 1rem; |
|
display: flex; |
|
justify-content: center; |
|
} |
|
|
|
.progress-steps { |
|
display: flex; |
|
align-items: center; |
|
gap: 2rem; |
|
background: white; |
|
padding: 1rem 2rem; |
|
border-radius: 50px; |
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); |
|
} |
|
|
|
.step { |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
gap: 0.5rem; |
|
opacity: 0.5; |
|
transition: all 0.3s ease; |
|
} |
|
|
|
.step.active { |
|
opacity: 1; |
|
} |
|
|
|
.step-number { |
|
width: 40px; |
|
height: 40px; |
|
border-radius: 50%; |
|
background: #e0e0e0; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
font-weight: 600; |
|
transition: all 0.3s ease; |
|
} |
|
|
|
.step.active .step-number { |
|
background: linear-gradient(135deg, #667eea, #764ba2); |
|
color: white; |
|
} |
|
|
|
.step-label { |
|
font-size: 0.9rem; |
|
font-weight: 500; |
|
white-space: nowrap; |
|
} |
|
|
|
|
|
.main-content { |
|
max-width: 1200px; |
|
margin: 0 auto; |
|
padding: 0 1rem 2rem; |
|
} |
|
|
|
.content-section { |
|
background: white; |
|
border-radius: 15px; |
|
box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1); |
|
margin-bottom: 1.5rem; |
|
overflow: hidden; |
|
transition: all 0.3s ease; |
|
} |
|
|
|
.content-section.collapsed { |
|
background: rgba(255, 255, 255, 0.7); |
|
} |
|
|
|
.section-header { |
|
padding: 1.5rem 2rem; |
|
background: linear-gradient(135deg, #f8f9ff, #e8ecff); |
|
border-bottom: 1px solid #e0e0e0; |
|
cursor: pointer; |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
transition: all 0.3s ease; |
|
} |
|
|
|
.section-header:hover { |
|
background: linear-gradient(135deg, #f0f4ff, #dde4ff); |
|
} |
|
|
|
.section-header h2 { |
|
font-size: 1.3rem; |
|
color: #333; |
|
font-weight: 600; |
|
} |
|
|
|
.toggle-icon { |
|
font-size: 1.2rem; |
|
color: #666; |
|
transition: transform 0.3s ease; |
|
} |
|
|
|
.section-content { |
|
padding: 2rem; |
|
} |
|
|
|
.content-section.collapsed .section-content { |
|
display: none; |
|
} |
|
|
|
|
|
.puzzle-selector { |
|
margin-bottom: 2rem; |
|
} |
|
|
|
.puzzle-selector label { |
|
display: block; |
|
margin-bottom: 0.5rem; |
|
font-weight: 500; |
|
color: #555; |
|
} |
|
|
|
.input-group { |
|
display: flex; |
|
gap: 1rem; |
|
align-items: center; |
|
} |
|
|
|
.number-input { |
|
padding: 0.75rem 1rem; |
|
border: 2px solid #e0e0e0; |
|
border-radius: 8px; |
|
font-size: 1rem; |
|
width: 150px; |
|
transition: border-color 0.3s ease; |
|
} |
|
|
|
.number-input:focus { |
|
outline: none; |
|
border-color: #667eea; |
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); |
|
} |
|
|
|
.puzzle-display { |
|
display: grid; |
|
grid-template-columns: 1fr 1fr; |
|
gap: 2rem; |
|
} |
|
|
|
@media (max-width: 768px) { |
|
.puzzle-display { |
|
grid-template-columns: 1fr; |
|
} |
|
} |
|
|
|
.puzzle-text, .expected-solution { |
|
background: #f8f9fa; |
|
border-radius: 10px; |
|
padding: 1.5rem; |
|
} |
|
|
|
.puzzle-text h3, .expected-solution h3 { |
|
margin-bottom: 1rem; |
|
color: #333; |
|
font-size: 1.1rem; |
|
} |
|
|
|
.text-display, .json-display { |
|
background: white; |
|
border-radius: 8px; |
|
padding: 1rem; |
|
border: 1px solid #e0e0e0; |
|
white-space: pre-wrap; |
|
max-height: 300px; |
|
overflow-y: auto; |
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; |
|
font-size: 0.9rem; |
|
line-height: 1.5; |
|
} |
|
|
|
|
|
.sys-content-editor h3 { |
|
margin-bottom: 0.5rem; |
|
color: #333; |
|
} |
|
|
|
.description { |
|
margin-bottom: 1rem; |
|
color: #666; |
|
line-height: 1.6; |
|
} |
|
|
|
.sys-content-textarea { |
|
width: 100%; |
|
min-height: 300px; |
|
padding: 1rem; |
|
border: 2px solid #e0e0e0; |
|
border-radius: 8px; |
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; |
|
font-size: 0.9rem; |
|
line-height: 1.5; |
|
resize: vertical; |
|
transition: border-color 0.3s ease; |
|
} |
|
|
|
.sys-content-textarea:focus { |
|
outline: none; |
|
border-color: #667eea; |
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); |
|
} |
|
|
|
|
|
.btn { |
|
padding: 0.75rem 1.5rem; |
|
border: none; |
|
border-radius: 8px; |
|
font-size: 1rem; |
|
font-weight: 500; |
|
cursor: pointer; |
|
transition: all 0.3s ease; |
|
text-decoration: none; |
|
display: inline-flex; |
|
align-items: center; |
|
justify-content: center; |
|
gap: 0.5rem; |
|
} |
|
|
|
.btn:disabled { |
|
opacity: 0.6; |
|
cursor: not-allowed; |
|
} |
|
|
|
.btn-primary { |
|
background: linear-gradient(135deg, #667eea, #764ba2); |
|
color: white; |
|
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); |
|
} |
|
|
|
.btn-primary:hover:not(:disabled) { |
|
transform: translateY(-2px); |
|
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4); |
|
} |
|
|
|
.btn-secondary { |
|
background: #6c757d; |
|
color: white; |
|
} |
|
|
|
.btn-secondary:hover:not(:disabled) { |
|
background: #5a6268; |
|
transform: translateY(-1px); |
|
} |
|
|
|
.btn-outline { |
|
background: transparent; |
|
color: #667eea; |
|
border: 2px solid #667eea; |
|
} |
|
|
|
.btn-outline:hover:not(:disabled) { |
|
background: #667eea; |
|
color: white; |
|
} |
|
|
|
.solve-btn { |
|
font-size: 1.1rem; |
|
padding: 1rem 2rem; |
|
width: 100%; |
|
max-width: 300px; |
|
margin: 0 auto; |
|
display: flex; |
|
} |
|
|
|
.solve-btn.loading { |
|
animation: pulse 2s infinite; |
|
} |
|
|
|
@keyframes pulse { |
|
0%, 100% { opacity: 1; } |
|
50% { opacity: 0.7; } |
|
} |
|
|
|
|
|
.solve-section { |
|
text-align: center; |
|
margin-bottom: 2rem; |
|
} |
|
|
|
.result-summary { |
|
display: grid; |
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); |
|
gap: 1rem; |
|
margin-bottom: 2rem; |
|
} |
|
|
|
.result-item { |
|
background: #f8f9fa; |
|
padding: 1rem; |
|
border-radius: 8px; |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
} |
|
|
|
.result-label { |
|
font-weight: 500; |
|
color: #555; |
|
} |
|
|
|
.result-value { |
|
font-weight: 600; |
|
} |
|
|
|
.result-value.success { |
|
color: #28a745; |
|
} |
|
|
|
.result-value.error { |
|
color: #dc3545; |
|
} |
|
|
|
.result-value.pending { |
|
color: #ffc107; |
|
} |
|
|
|
.issues-section, .code-section { |
|
margin-top: 2rem; |
|
} |
|
|
|
.issues-section h3, .code-section h3 { |
|
margin-bottom: 1rem; |
|
color: #333; |
|
} |
|
|
|
.issues-display, .code-display { |
|
background: #f8f9fa; |
|
border: 1px solid #e0e0e0; |
|
border-radius: 8px; |
|
padding: 1rem; |
|
max-height: 400px; |
|
overflow-y: auto; |
|
} |
|
|
|
.code-display { |
|
background: #282c34; |
|
color: #abb2bf; |
|
} |
|
|
|
.code-display pre { |
|
margin: 0; |
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; |
|
font-size: 0.9rem; |
|
line-height: 1.5; |
|
} |
|
|
|
|
|
.navigation { |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
max-width: 1200px; |
|
margin: 0 auto; |
|
padding: 2rem 1rem; |
|
} |
|
|
|
.step-indicator { |
|
color: white; |
|
font-weight: 500; |
|
background: rgba(255, 255, 255, 0.2); |
|
padding: 0.5rem 1rem; |
|
border-radius: 20px; |
|
backdrop-filter: blur(10px); |
|
} |
|
|
|
|
|
.page-navigation { |
|
display: flex; |
|
gap: 1rem; |
|
margin-top: 2rem; |
|
justify-content: center; |
|
} |
|
|
|
.nav-tab { |
|
padding: 0.75rem 2rem; |
|
border: 2px solid rgba(255, 255, 255, 0.3); |
|
border-radius: 25px; |
|
background: rgba(255, 255, 255, 0.1); |
|
color: white; |
|
font-size: 1rem; |
|
font-weight: 500; |
|
cursor: pointer; |
|
transition: all 0.3s ease; |
|
backdrop-filter: blur(10px); |
|
} |
|
|
|
.nav-tab:hover { |
|
background: rgba(255, 255, 255, 0.2); |
|
border-color: rgba(255, 255, 255, 0.5); |
|
} |
|
|
|
.nav-tab.active { |
|
background: white; |
|
color: #667eea; |
|
border-color: white; |
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); |
|
} |
|
|
|
|
|
.custom-puzzle-editor h3 { |
|
margin-bottom: 0.5rem; |
|
color: #333; |
|
} |
|
|
|
.puzzle-input-container { |
|
margin-bottom: 2rem; |
|
} |
|
|
|
.custom-puzzle-textarea { |
|
width: 100%; |
|
min-height: 400px; |
|
padding: 1rem; |
|
border: 2px solid #e0e0e0; |
|
border-radius: 8px; |
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; |
|
font-size: 0.9rem; |
|
line-height: 1.5; |
|
resize: vertical; |
|
transition: border-color 0.3s ease; |
|
} |
|
|
|
.custom-puzzle-textarea:focus { |
|
outline: none; |
|
border-color: #667eea; |
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); |
|
} |
|
|
|
.puzzle-examples { |
|
background: #f8f9ff; |
|
border-radius: 8px; |
|
padding: 1.5rem; |
|
border-left: 4px solid #667eea; |
|
} |
|
|
|
.puzzle-examples h4 { |
|
margin-bottom: 1rem; |
|
color: #333; |
|
} |
|
|
|
.puzzle-examples ul { |
|
margin-left: 1.5rem; |
|
color: #555; |
|
line-height: 1.6; |
|
} |
|
|
|
.puzzle-examples li { |
|
margin-bottom: 0.5rem; |
|
} |
|
|
|
|
|
.solution-navigator { |
|
background: #f8f9fa; |
|
border-radius: 10px; |
|
padding: 1.5rem; |
|
margin-bottom: 2rem; |
|
} |
|
|
|
.solution-header { |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
margin-bottom: 1.5rem; |
|
} |
|
|
|
.solution-header h3 { |
|
margin: 0; |
|
color: #333; |
|
} |
|
|
|
.solution-controls { |
|
display: flex; |
|
align-items: center; |
|
gap: 1rem; |
|
} |
|
|
|
.btn-sm { |
|
padding: 0.5rem 1rem; |
|
font-size: 0.9rem; |
|
} |
|
|
|
.solution-pagination { |
|
display: flex; |
|
gap: 0.25rem; |
|
} |
|
|
|
.pagination-btn { |
|
width: 35px; |
|
height: 35px; |
|
border: 1px solid #ddd; |
|
border-radius: 6px; |
|
background: white; |
|
color: #666; |
|
font-size: 0.9rem; |
|
cursor: pointer; |
|
transition: all 0.2s ease; |
|
} |
|
|
|
.pagination-btn:hover { |
|
background: #f0f0f0; |
|
} |
|
|
|
.pagination-btn.active { |
|
background: #667eea; |
|
color: white; |
|
border-color: #667eea; |
|
} |
|
|
|
.solution-display { |
|
background: white; |
|
border-radius: 8px; |
|
padding: 1rem; |
|
border: 1px solid #e0e0e0; |
|
} |
|
|
|
.solution-info { |
|
margin-bottom: 1rem; |
|
padding-bottom: 0.5rem; |
|
border-bottom: 1px solid #eee; |
|
} |
|
|
|
.solution-counter { |
|
color: #666; |
|
font-weight: 500; |
|
} |
|
|
|
.solution-table-container { |
|
overflow-x: auto; |
|
} |
|
|
|
.solution-table { |
|
width: 100%; |
|
border-collapse: collapse; |
|
font-size: 0.9rem; |
|
} |
|
|
|
.solution-table th, |
|
.solution-table td { |
|
padding: 0.75rem; |
|
text-align: left; |
|
border: 1px solid #ddd; |
|
} |
|
|
|
.solution-table th { |
|
background: #f8f9fa; |
|
font-weight: 600; |
|
color: #333; |
|
} |
|
|
|
.solution-table tr:nth-child(even) { |
|
background: #f9f9f9; |
|
} |
|
|
|
.solution-table tr:hover { |
|
background: #f0f4ff; |
|
} |
|
|
|
.solution-json { |
|
background: #f8f9fa; |
|
border-radius: 6px; |
|
padding: 1rem; |
|
overflow-x: auto; |
|
} |
|
|
|
.solution-json pre { |
|
margin: 0; |
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; |
|
font-size: 0.85rem; |
|
line-height: 1.4; |
|
} |
|
|
|
|
|
.error-section { |
|
margin-top: 2rem; |
|
} |
|
|
|
.error-section h3 { |
|
margin-bottom: 1rem; |
|
color: #dc3545; |
|
} |
|
|
|
.error-display { |
|
background: #fff5f5; |
|
border: 1px solid #fed7d7; |
|
border-radius: 8px; |
|
padding: 1rem; |
|
max-height: 300px; |
|
overflow-y: auto; |
|
} |
|
|
|
.error-display pre { |
|
margin: 0; |
|
color: #c53030; |
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; |
|
font-size: 0.9rem; |
|
line-height: 1.5; |
|
white-space: pre-wrap; |
|
} |
|
|
|
.result-value.warning { |
|
color: #f56500; |
|
} |
|
|
|
|
|
@media (max-width: 768px) { |
|
.app-header h1 { |
|
font-size: 2rem; |
|
} |
|
|
|
.progress-steps { |
|
flex-direction: column; |
|
gap: 1rem; |
|
} |
|
|
|
.step { |
|
flex-direction: row; |
|
gap: 1rem; |
|
} |
|
|
|
.section-content { |
|
padding: 1rem; |
|
} |
|
|
|
.input-group { |
|
flex-direction: column; |
|
align-items: stretch; |
|
} |
|
|
|
.navigation { |
|
flex-direction: column; |
|
gap: 1rem; |
|
} |
|
|
|
.page-navigation { |
|
flex-direction: column; |
|
align-items: center; |
|
} |
|
|
|
.nav-tab { |
|
width: 200px; |
|
text-align: center; |
|
} |
|
|
|
.solution-header { |
|
flex-direction: column; |
|
gap: 1rem; |
|
align-items: stretch; |
|
} |
|
|
|
.solution-controls { |
|
justify-content: center; |
|
flex-wrap: wrap; |
|
} |
|
|
|
.solution-pagination { |
|
max-width: 100%; |
|
overflow-x: auto; |
|
padding: 0.5rem 0; |
|
} |
|
} |
|
|
|
@media (max-width: 480px) { |
|
.main-content { |
|
padding: 0 0.5rem 1rem; |
|
} |
|
|
|
.section-header { |
|
padding: 1rem; |
|
} |
|
|
|
.btn { |
|
padding: 0.5rem 1rem; |
|
font-size: 0.9rem; |
|
} |
|
|
|
.custom-puzzle-textarea { |
|
min-height: 300px; |
|
font-size: 0.8rem; |
|
} |
|
|
|
.solution-table { |
|
font-size: 0.8rem; |
|
} |
|
|
|
.solution-table th, |
|
.solution-table td { |
|
padding: 0.5rem; |
|
} |
|
} |
|
|