/**
 * Casting Contest Styles
 * Lima Teens - VM1
 */

/* Degradado circular de fondo (PreReg, MyProfile, etc.) */
.casting-bg-radial {
  background: radial-gradient(circle at center 42%, #d81ea1 0%, #b31689 32%, #7f1b7e 62%, #4a185f 100%);
}

/* Wrapper base para pantallas de casting que comparten fondo radial */
.casting-page-shell {
  min-height: 100vh;
  box-sizing: border-box;
}

/* ===== Manual Crop Tool (estilo alumnaModule) ===== */
.casting-crop-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.casting-crop-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
.casting-crop-header {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}
.casting-crop-header h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--morado);
}
.casting-crop-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #999;
  cursor: pointer;
  padding: 4px;
}
.casting-crop-body {
  padding: 16px;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.casting-crop-container {
  position: relative;
  max-width: 100%;
  max-height: 55vh;
  background: #ddd;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  overflow: hidden;
  touch-action: none;
}
.casting-crop-container img {
  max-width: 100%;
  display: block;
}
.casting-crop-box {
  position: absolute;
  border: 3px solid #fff;
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.5);
  cursor: move;
  border-radius: 10px;
  touch-action: none;
  display: none;
}
.casting-crop-hint {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #666;
  text-align: center;
}
.casting-crop-footer {
  padding: 14px 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #eee;
}
.casting-crop-btn-cancel {
  padding: 10px 20px;
  background: #F3F4F6;
  color: #666;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.casting-crop-btn-confirm {
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--fucsia) 0%, var(--morado) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
}
.casting-crop-btn-cancel:active,
.casting-crop-btn-confirm:active { opacity: 0.7; }
