/* Container global du formulaire */
.wechef-vendor-form {
    max-width: 820px;
    margin: 0 auto;
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(10, 24, 48, 0.08);
    border: 1px solid rgba(10, 24, 48, 0.04);
    backdrop-filter: blur(4px);
}

/* Une ligne (label + input) */
.wechef-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

/* Labels */
.wechef-form-row label {
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 500;
    color: #1b2133;
}

/* Inputs, selects, textareas */
.wechef-vendor-form input[type="text"],
.wechef-vendor-form input[type="email"],
.wechef-vendor-form select,
.wechef-vendor-form textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid #d6c9b8;
    font-size: 15px;
    line-height: 1.4;
    color: #1b2133;
    background: #fffaf1;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    outline: none;
    box-sizing: border-box;
}

/* Placeholder */
.wechef-vendor-form input::placeholder,
.wechef-vendor-form textarea::placeholder {
    color: #a89c8d;
}

/* Focus */
.wechef-vendor-form input[type="text"]:focus,
.wechef-vendor-form input[type="email"]:focus,
.wechef-vendor-form select:focus,
.wechef-vendor-form textarea:focus {
    border-color: #233dff;
    background-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(35, 61, 255, 0.08), 0 10px 22px rgba(12, 22, 54, 0.08);
}

/* Select */
.wechef-vendor-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #7760ff 50%),
                      linear-gradient(135deg, #7760ff 50%, transparent 50%);
    background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%;
    background-size: 7px 7px, 7px 7px;
    background-repeat: no-repeat;
}

/* Textarea */
.wechef-vendor-form textarea {
    min-height: 110px;
    resize: vertical;
}

/* Messages de succès / erreur */
.wechef-form-success,
.wechef-form-error {
    max-width: 820px;
    margin: 0 auto 18px auto;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.wechef-form-success {
    background: #e7f8f0;
    border: 1px solid #5ac298;
    color: #145739;
}

.wechef-form-error {
    background: #ffecec;
    border: 1px solid #ff7a7a;
    color: #7b1111;
}

/* Bouton d’envoi */
.wechef-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    width: 100%;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    background-image: linear-gradient(135deg, #18216f, #6841ff);
    box-shadow: 0 14px 28px rgba(30, 35, 90, 0.28);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.wechef-form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(30, 35, 90, 0.35);
    filter: brightness(1.03);
}

.wechef-form-submit:active {
    transform: translateY(0);
    box-shadow: 0 10px 18px rgba(30, 35, 90, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .wechef-vendor-form {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .wechef-form-row {
        margin-bottom: 14px;
    }
}
/* =========================
   LOGIN REQUIRED (clean)
   ========================= */

.wechef-apply--login-required .wechef-apply__hero{
  padding: 0 18px;
  margin: 0 auto 18px;
  max-width: 1100px;
  text-align: left;
}

.wechef-apply--login-required .wechef-apply__title{
  color: #f6e7c5 !important;
  text-shadow: 0 10px 30px rgba(0,0,0,.65);
}

.wechef-apply--login-required .wechef-apply__subtitle{
  color: #e9f1ff !important;
  opacity: 1 !important;
  text-shadow: 0 8px 24px rgba(0,0,0,.55);
}

/* Stop any repeating background coming from the theme on this section */
.wechef-apply--login-required{
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
}

.wechef-apply--login-required .wechef-apply__content{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.wechef-apply--login-required .wechef-login-cta{
  text-align: center;
  padding: 34px 22px;
  border-radius: 26px;
  border: 1px solid rgba(246,231,197,.22);
  box-shadow: 0 18px 60px rgba(0,0,0,.60);
  background: rgba(6,16,60,.75);
  backdrop-filter: blur(14px);
}

/* Force text colors inside CTA (prevents black/grey overrides) */
.wechef-apply--login-required .wechef-login-cta,
.wechef-apply--login-required .wechef-login-cta *{
  color: #e9f1ff !important;
}

.wechef-apply--login-required .wechef-login-text{
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.65;
  text-shadow: 0 8px 22px rgba(0,0,0,.55);
}

.wechef-apply--login-required .wechef-login-actions{
  margin: 0;
}

.wechef-apply--login-required .wechef-login-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;

  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(75,107,255,1), rgba(132,92,255,1));
  box-shadow: 0 16px 36px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.wechef-apply--login-required .wechef-login-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(0,0,0,.65);
  filter: brightness(1.06);
}
/* Center the hero title + subtitle for the login-required screen */
.wechef-apply--login-required .wechef-apply__hero{
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.wechef-apply--login-required .wechef-apply__title,
.wechef-apply--login-required .wechef-apply__subtitle{
  text-align: center !important;
}
