/* styles.css */

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1, h2 {
    text-align: center;
    color: #2c3e50;
}

.section {
    margin-bottom: 2rem;
    padding: 1rem;
    border-left: 4px solid #03c5b2;
    background: #fdfdfd;
    border-radius: 8px;
}



.attribute-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 2rem;
  margin-top: 1rem;
}

.attribute label {
    flex: 1 1 40%;
    font-weight: bold;
    margin-right: 1rem;
}

.attribute input,
.attribute select,
.attribute span {
    padding: 0.4rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.attribute span {
    background: #eef1f5;
    padding: 0.5rem;
}

#remaining-points,
#remaining-skill-points {
    font-weight: bold;
    color: #c0392b;
    margin-bottom: 1rem;
    text-align: right;
}

button {
    display: block;
    margin: 2rem auto;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    background-color: #03c5b2;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #029d90;
}

/* Responsives Layout */
@media (max-width: 600px) {
    .attribute {
        flex-direction: column;
        align-items: flex-start;
    }

    .attribute label,
    .attribute input,
    .attribute select,
    .attribute span {
        flex: 1 1 100%;
        margin-right: 0;
    }
}
#talente-section {
  margin-top: 2em;
  border-top: 1px solid #ccc;
  padding-top: 1em;
}

.talente-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: 1em;
}

.talent-card {
  border: 1px solid #aaa;
  padding: 0.5em;
  border-radius: 6px;
  min-width: 200px;
  flex: 1 1 200px;
  background: #f8f8f8;
}

.talent-card input[type="checkbox"] {
  margin-right: 0.5em;
}
.talente-wrapper {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.talente-spalte {
  flex: 1;
  min-width: 300px;
}

.accordion {
  margin-bottom: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.accordion summary {
  cursor: pointer;
  padding: 0.5rem;
  font-weight: bold;
  background: #f0f0f0;
}

.accordion-content {
  padding: 0.5rem 1rem;
}

.talent-card {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

#gewaehlte-talente-liste li {
  list-style: none;
  margin-bottom: 0.3rem;
}
.talente-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.talente-container {
  flex: 3;
}

.ausgewaehlt-box {
  flex: 1;
  border: 1px solid #ccc;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.accordion {
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

.accordion summary {
  background-color: #e0e0e0;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
}

.accordion-content {
  padding: 0.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.talent-card {
  background: white;
  padding: 0.4rem 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.grid-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.block input, .block select, .block span {
	padding: 0.4rem;
	font-size: 1rem;
	border-radius: 6px;
	border: 1px solid #ccc;
}
.grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.block {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.5rem;
}

.block label {
  text-align: left;
  white-space: nowrap;
}

.block input,
.block select {
  width: 100%;
  box-sizing: border-box;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 2rem;
  margin-top: 1rem;
}

.skill-block {
  display: flex;
  flex-direction: column;

}
.skill-block input, .skill-block select {
	padding: 0.4rem;
	font-size: 1rem;
	border-radius: 6px;
	border: 1px solid #ccc;
	width: 100%;
}
.skill-block label {
  font-weight: bold;
}

.attribute-hint {
  font-size: 0.85em;
  font-weight: normal;
  color: #666;
}

#talente-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 0.5rem;
  border: 1px solid #ddd;
}

#talente-section h2 {
  margin-bottom: 1rem;
}

.talent-selection {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

#talente-ep {
  font-weight: bold;
  margin-bottom: 1rem;
}

.talente-flex {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.talente-container {
  flex: 2;
  min-width: 300px;
}

.ausgewaehlt-box {
  flex: 1;
  min-width: 200px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 1rem;
}

.ausgewaehlt-box h3 {
  margin-top: 0;
  font-size: 1.1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

.ausgewaehlt-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ausgewaehlt-box li {
  margin-bottom: 0.5rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}
.talent-selection select {
	padding: 0.4rem;
	font-size: 1rem;
	border-radius: 6px;
	border: 1px solid #ccc;
}