/* WRAPPER */
.alc-form .alc-form-wrapper {
    max-width: 680px;
    margin: 40px auto;
    padding: 30px;
}

/* CARD */
.alc-form {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    animation: fadeIn 0.4s ease;
}

/* TITLES */
.alc-form .alc-title {
    text-align: center;
    font-size: 25px;
    line-height: 25px;
}

.alc-form .alc-subtitle {
    text-align: center;
    margin-bottom: 50px;
}

/* GRID */
.alc-form .alc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.alc-form .alc-field {
    display: flex;
    flex-direction: column;
}

.alc-form .alc-form .alc-full {
    grid-column: span 2;
}

/* LABEL */
.alc-form .alc-field label {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 6px;
    color: #222;
}

.alc-form .alc-label-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.alc-form .alc-label-row label {
    margin-bottom: 0;
}

/* INPUTS */
.alc-field input,
.alc-field select,
.alc-field textarea {
    padding: 14px 16px !important;
    border-radius: 12px !important;
    border: 1px solid #d4d4d4 !important;
    background: #fff !important;
    font-size: 15px !important;
    transition: 0.2s ease !important;
}

/* Hover & Focus */
.alc-form .alc-field input:focus,
.alc-form .alc-field select:focus,
.alc-form .alc-field textarea:focus {
    border-color: #2d6cff;
    box-shadow: 0 0 0 3px rgba(45,108,255,0.25);
    outline: none;
}

/* TEXTAREA */
.alc-form .alc-field textarea {
    min-height: 120px;
    resize: vertical;
}

/* BUTTON */
.alc-form .alc-btn {
    margin-top: 30px !important;
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    background: #0b36a8;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.alc-form .alc-btn:hover {
    background: #174fe6;
    transform: translateY(-1px);
}

.alc-form .alc-btn:active {
    transform: translateY(1px);
}

/* SUCCESS MESSAGE */
.alc-form .alc-msg {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
    color: #2d6cff;
}

/* RESPONSIVE */
@media (max-width: 640px) {
    .alc-form .alc-grid {
        grid-template-columns: 1fr;
    }
    .alc-form .alc-full {
        grid-column: span 1;
    }
}

/* ANIMATION */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ERROR */
#nif_error {
    color: red;
    font-size: 14px;
    padding-left: 5px;
    padding-top: 5px;
}



/*POPUP QUE RÓTULO ELEGIR*/
.alc-tooltip-icon {
    appearance: none;
    border: 1px solid #ccc;
    display: inline-block;
    cursor: pointer;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    text-align: center;
    font-size: 12px;
    line-height: 14px;
    background: #f5f5f5;
    padding: 0;
    color: #000;
    position: relative;
}
.alc-tooltip-icon:hover, .alc-tooltip-icon:focus,
.alc-tooltip-close:hover, .alc-tooltip-close:focus
{
    background-color: #2d6cff;
}

.alc-tooltip-popup {
    display: none;
    position: absolute;
    top: -55px; /* puedes ajustar según necesites */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: #fff; /* fondo blanco */
    color: #000; /* texto negro */
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.3;
    width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* sombra */
}

.alc-tooltip-popup a {
    color: #2d6cff !important; /* enlace azul */
    text-decoration: underline !important;
}

.alc-tooltip-close {
    position: absolute;
    top: 2px;
    right: 5px;
    cursor: pointer;
    font-weight: bold;
    border: 0;
    background: transparent;
    padding: 0;
    color: #000; /* cruz negra */
}
