/* Inputs y selects base */
.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="password"],
.profile-form input[type="date"],
.profile-form input[type="number"], 
.profile-form select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  font-family: 'Montserrat', sans-serif;
  color: #1E2A5B;
  background-color: #fff;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  margin-bottom: 15px;
}



/* Al enfocar */
.profile-form input:focus,
.profile-form select:focus,
.profile-form textarea:focus {
  border-color: #1E2A5B;
  outline: none;
}

/* Etiquetas */
.profile-form label {
  font-weight: 600;
  color: #1E2A5B;
  margin-bottom: 5px;
  display: block;
  font-family: 'Montserrat', sans-serif;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.form-col {
  flex: 1;
  min-width: 140px;
}


/* Botones dentro del modal */
 .material-button {
  margin-top: 10px;
  background-color: #FF4F00;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-content .material-button:hover {
  background-color: #d94300;
}
.modal-content {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  margin: 100px auto;
}
.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.8em;
  font-weight: bold;
  color: #1E2A5B;
  cursor: pointer;
  z-index: 10;
}

.modal-content label,
form label,
#editProfileModal label {
  font-weight: 600;
  color: #1E2A5B !important;
  font-family: 'Montserrat', sans-serif !important;
}
#rate{
    Text-align:right;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.profile-row label {
  margin: 0;
  flex: 0 0 80px;
}

.toggle-switch {
  position: relative;
  width: 46px;
  height: 24px;
  display: inline-block;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.toggle-switch input:checked + .slider {
  background-color: #4CAF50;
}

.toggle-switch input:checked + .slider:before {
  transform: translateX(22px);
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-overlay .spinner {
  text-align: center;
  color: #1E2A5B;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
}

.loading-overlay .spin {
  font-size: 48px;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}
