body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #953232 30%, #ffa940 98%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-card {
  position: relative;
  z-index: 2;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 44px 0 rgba(255,153,51,0.13);
  padding: 50px 38px 44px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-card h1 {
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 900;
  color: #242424;
}

.login-card h1 span {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffa940;
  margin-left: 3px;
}

.login-card h2 {
  margin: 0 0 18px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #303030;
  letter-spacing: 0.02em;
}

#login-form, #register-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

label {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2px;
}

input[type="text"], input[type="password"] {
  font-size: 1.08rem;
  border-radius: 16px;
  border: 1.5px solid #ececec;
  padding: 18px 24px;
  background: #e9f1fc;
  margin-bottom: 2px;
  transition: border 0.2s;
  font-family: 'Poppins', sans-serif;
}

input[type="text"]:focus, input[type="password"]:focus {
  outline: none;
  border-color: #ffa940;
  background: #fff9f1;
}

.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.login-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-top: 24px;
}

.login-actions button {
  min-width: auto;
  padding: 12px 0;
  border-radius: 12px;
  font-size: 1.1rem;
}

button {
  background: #ffa940;
  color: #fff;
  border: none;
  padding: 11px 30px;
  border-radius: 12px;
  font-size: 1.07rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.18s;
  box-shadow: 0 1px 6px 0 rgba(255,153,51,0.14);
}

button:hover {
  background: #ff8400;
}

#error-message, #register-error {
  color: #ef2e2e;
  font-size: 1rem;
  min-height: 24px;
  margin-top: 10px;
  text-align: center;
}

#register-success {
  color: #22bb66;
  font-size: 1rem;
  min-height: 24px;
  margin-top: 10px;
  text-align: center;
}

.dashboard-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 44px 0 rgba(255,153,51,0.13);
  max-width: 1100px;
  width: 98vw;
  padding: 38px 32px 38px 32px;
  margin: 38px auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

header h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #242424;
  margin: 0 0 8px 0;
  text-align: center;
}

header nav {
  display: flex;
  gap: 18px;
  margin-top: 12px;
}

header button {
  background: #ffa940;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 14px;
  font-size: 1.07rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.18s;
  box-shadow: 0 1px 6px 0 rgba(255,153,51,0.14);
}

main {
  display: flex;
  gap: 38px;
  min-height: 480px;
}

aside {
  min-width: 220px;
  max-width: 240px;
  padding-right: 16px;
  border-right: 2px solid #ffe3b5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

aside h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 12px 0;
}

aside ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

aside ul li {
  margin-bottom: 14px;
}

aside button {
  background: #ffa940;
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin: 0;
  width: 100%;
  text-align: left;
}

#contenido-principal {
  flex: 1;
  padding-left: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#contenido-principal > button {
  background: #ffa940;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 14px;
  align-self: flex-start;
}

#contenido-principal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #242424;
  margin: 0 0 12px 0;
}

#create-training-btn {
  background: #ffa940;
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 12px;
  font-size: 1.07rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 16px;
  margin-left: 0;
}

#interview-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #f7f8fa;
  border-radius: 16px;
  padding: 24px;
  margin-top: 10px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px 0 rgba(255,153,51,0.07);
}

#interview-form label {
  font-size: 1rem;
  font-weight: 500;
}

#interview-form input[type="text"], #interview-form textarea, #interview-form select {
  font-size: 1.05rem;
  border-radius: 12px;
  border: 1.2px solid #ececec;
  padding: 12px 18px;
  background: #e9f1fc;
  margin-bottom: 2px;
  font-family: 'Poppins', sans-serif;
}

#interview-form textarea {
  min-height: 54px;
  resize: vertical;
}

#generate-prompt-button, #continue-training-button {
  background: #ffa940;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 1.07rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 6px;
  width: fit-content;
}

#generated-prompt {
  font-size: 1rem;
  border-radius: 12px;
  border: 1.2px solid #ececec;
  background: #e9f1fc;
  padding: 14px 16px;
  font-family: 'Poppins', sans-serif;
  margin-top: 8px;
}

#entrenamientos {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .dashboard-card {
    max-width: 98vw;
    padding: 6vw 2vw;
  }
  main {
    flex-direction: column;
    gap: 16px;
  }
  aside {
    min-width: unset;
    max-width: unset;
    border: none;
    border-bottom: 2px solid #ffe3b5;
    padding-bottom: 16px;
  }
  #contenido-principal {
    padding-left: 0;
  }
}

