/* Grundlayout */
body {
font-family: ‘Segoe UI’, sans-serif;
background: #f0f2f5;
margin: 0;
padding: 20px;
color: #333;
display: flex;
flex-direction: column;
align-items: center;
}

h1 {
text-align: center;
color: #2c3e50;
font-size: 26px;
margin-bottom: 20px;
}

section {
background: #fff;
padding: 20px;
margin-bottom: 30px;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
width: 100%;
max-width: 800px;
box-sizing: border-box;
text-align: center;
}

label {
display: block;
margin: 10px auto;
font-weight: bold;
}

input[type=“number”], select {
padding: 6px;
font-size: 14px;
width: 120px;
margin: 5px auto 15px auto;
border-radius: 4px;
border: 1px solid #ccc;
display: block;
}

button {
display: block;
margin: 20px auto;
padding: 10px 20px;
font-size: 15px;
background-color: #3498db;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
transition: background-color 0.2s ease;
}

button:hover {
background-color: #2980b9;
}

button:disabled {
background-color: #bdc3c7;
cursor: not-allowed;
}

/* Runenanzeige */
#rune-selection {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-top: 10px;
justify-content: center;
}

.rune {
border: 2px solid #ccc;
border-radius: 8px;
padding: 12px;
width: 220px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
transition: border-color 0.2s ease;
background-color: #f9f9f9;
text-align: left;
}

.rune h4 {
margin: 0 0 5px 0;
font-size: 16px;
color: #2c3e50;
}

.rune p {
font-size: 13px;
color: #555;
margin: 5px 0 10px 0;
}

.rune select {
width: 100%;
}

/* Farben nach Seltenheit */
.rune.blau {
background-color: #e3f2fd;
border: 2px solid #2196f3;
}

.rune.gruen {
background-color: #e8f5e9;
border: 2px solid #43a047;
}

.rune.gelb {
background-color: #fffde7;
border: 2px solid #fbc02d;
}

.rune.orange {
background-color: #ffe0b2;
border: 2px solid #ef6c00;
}

.rune.rot {
background-color: #ffebee;
border: 2px solid #e53935;
}

/* Ergebnisse */
#results {
margin-top: 20px;
text-align: center;
}

.result-entry {
background: #ecf0f1;
padding: 10px 15px;
margin-bottom: 10px;
border-left: 5px solid #3498db;
border-radius: 5px;
text-align: left;
}

.result-entry strong {
color: #2c3e50;
}

.result-entry em {
display: block;
font-size: 13px;
color: #555;
margin-top: 4px;
}

.structure-result {
background: #dff9fb;
padding: 15px;
margin-top: 30px;
border-left: 5px solid #27ae60;
border-radius: 5px;
text-align: left;
}

.structure-result h3 {
margin-top: 0;
color: #27ae60;
}

.structure-result strong {
font-size: 18px;
color: #2c3e50;
}

.structure-result em {
display: block;
font-size: 13px;
color: #555;
margin-top: 4px;
}

#progress-container {
width: 100%;
max-width: 600px;
background: #e0e0e0;
border-radius: 5px;
overflow: hidden;
margin: 20px auto;
}

#progress-bar {
height: 20px;
background: #3498db;
width: 0%;
transition: width 0.2s ease;
}

#progress-text {
margin-top: 5px;
font-size: 14px;
text-align: center;
}

.warning {
background-color: #fff3cd;
border: 1px solid #ffeaa7;
color: #856404;
padding: 10px;
border-radius: 5px;
margin: 10px 0;
}

.error {
background-color: #f8d7da;
border: 1px solid #f5c6cb;
color: #721c24;
padding: 10px;
border-radius: 5px;
margin: 10px 0;
}

.info {
background-color: #d1ecf1;
border: 1px solid #bee5eb;
color: #0c5460;
padding: 10px;
border-radius: 5px;
margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
#rune-selection {
flex-direction: column;
align-items: center;
}

.rune {
width: 90%;
}

input[type=“number”], select {
width: 100%;
margin-top: 5px;
}

button {
width: 100%;
margin-top: 15px;
}
}