/* custom.css */

/* Mejora inputs */
.form-control {
  border-radius: 10px;
  height: 44px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: #d35400;
  box-shadow: 0 0 5px rgba(211, 84, 0, 0.5);
}

/* Cards con sombra */
.card {
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn-primary {
  background-color: #d35400;
  border-color: #d35400;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #b84300;
  border-color: #b84300;
}

label {
  font-weight: 600;
  color: #333;
}

.upload-box {
  border: 2px dashed #ccc;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
  transition: border-color 0.3s ease;
}

.upload-box:hover {
  border-color: #d35400;
  background: #fff7f0;
}

.preview-box {
  border: 2px dashed #ddd;
  border-radius: 12px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.obligatorio{
    color: #b84300;
    font-size: 1rem;
    font-weight: bold;
    margin-left: 2px;
}

.checkbox-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

/* ocultar checkbox original */
.checkbox-custom input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    transform: scale(1.6);
}

/* caja del checkbox */
.checkmark {
    width: 28px;
    height: 28px;
    border: 2px solid #3a92e4;
    border-radius: 4px; /* esquinas suaves */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

/* check (✓) */
.checkmark::after {
    content: "";
    width: 8px;
    height: 20px;
    border: solid white;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    display: none;
}

/* cuando está marcado */
.checkbox-custom input:checked + .checkmark {
    background-color: #3a92e4;
}

.checkbox-custom input:checked + .checkmark::after {
    display: block;
}

/* hover */
.checkbox-custom:hover .checkmark {
    box-shadow: 0 0 0 3px rgba(184, 67, 0, 0.15);
}

