/*
 * ACF Theme — Form Crea Cliente
 * Caricato su: [crea_cliente]
 */

/* ===== CONTENITORE ===== */

.crea-cliente-form-wrap {
    max-width: 520px;
    margin: 2rem auto;
    padding: 2rem 2.4rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.07),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.crea-cliente-form-wrap h2 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: #2c3e50;
}

/* ===== FORM ===== */

.crea-cliente-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.cc-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cc-field label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #2c3e50;
}

.cc-field input {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.cc-field input:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.14);
    background: white;
}

/* ===== SUBMIT ===== */

.cc-submit button {
    margin-top: 0.6rem;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #6c5ce7 0%, #a463f5 100%);
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(108, 92, 231, 0.28);
    transition: all 0.25s ease;
    align-self: flex-end;
}

.cc-submit button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(108, 92, 231, 0.36);
}

/* ===== ERRORI ===== */

.form-errori {
    background: rgba(220, 53, 69, 0.07);
    border: 1px solid rgba(220, 53, 69, 0.25);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    color: #c0392b;
    font-size: 0.9rem;
}

.form-errori p { margin: 0.2rem 0; }
