/* ESTILOS GENERALES */
:root {
  --bg-color: #0a0a0a; /* Negro suave */
  --text-color: #f0f0f0;
  --accent-color: #333;
}


body {
  font-family: "Inter", sans-serif;
  background-color: #000;
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER */
header {
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--accent-color);
  position: sticky;
  top: 0;
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(5px);
  z-index: 100;
}

.logo {
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 1.2rem;
  font-family: "Jost";
}

.back-btn {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid #f0f0f0;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background-color: #f0f0f0;
  color: var(--bg-color);
}

/* FORM */
.container {
  max-width: 800px;
  margin: 50px auto;
  padding: 40px;
  background: #111;
  border: 1px solid #333;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
h1 {
  font-family: "Jost", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 3.5em;
  text-align: center;
  margin-bottom: 30px;
  padding: 0;
  -webkit-text-fill-color: rgb(255, 255, 255);
}

h1:hover {
  -webkit-text-stroke: 1px rgb(255, 255, 255);
  -webkit-text-fill-color: transparent;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.form-col {
  flex: 1;
}
.form-group {
  margin-bottom: 20px;
}
label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #ccc;
  font-weight: 500;
}
input,
textarea {
  width: 100%;
  padding: 12px;
  background: #222;
  border: 1px solid #444;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  border-radius: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: #d4af37;
  background: #2a2a2a;
}
.checkbox-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-option input {
  width: auto;
}

.file-upload {
  position: relative;
  display: inline-block;
  width: 100%;
}
.file-upload-label {
  display: block;
  padding: 12px;
  background: #222;
  border: 1px solid #444;
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.file-upload-label:hover {
  background: #333;
  border-color: #d4af37;
}
.file-name {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #888;
  text-align: center;
}
.btn-submit {
  width: 100%;
  padding: 15px;
  background: #d4af37;
  color: #000;
  border: none;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 20px;
  font-size: 1rem;
}
.btn-submit:hover {
  background: #b8962e;
}
.btn-submit:disabled {
  background: #555;
  cursor: not-allowed;
}
.message {
  padding: 15px;
  margin-bottom: 20px;
  display: none;
  text-align: center;
  border-radius: 4px;
}
.message.success {
  background: #28a745;
  color: #fff;
}
.message.error {
  background: #dc3545;
  color: #fff;
}
.required {
  color: #d4af37;
}

footer {
  text-align: center;
  padding: 3rem;
  border-top: 1px solid var(--accent-color);
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .container {
    margin: 20px;
    padding: 20px;
  }
  h1 {
    font-size: 1.5rem;
  }
  .checkbox-group {
    flex-direction: column;
    gap: 10px;
  }
  .checkbox-option {
    width: 100%;
  }
  input,
  textarea {
    font-size: 16px; /* Evita zoom en iOS */
  }
}

@media (max-width: 480px) {
  .container {
    margin: 10px;
    padding: 15px;
  }
  h1 {
    font-size: 2.2rem;
  }
  .btn-submit {
    font-size: 0.9rem;
    padding: 12px;
  }
}
