/* ==============================> WHATSAPP BOTÓN – ADMIN */

/* -> Cabecera */
.wsp-admin-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 24px;
}

.wsp-admin-header .wsp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #25D366;
    border-radius: 10px;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.wsp-admin-header .wsp-icon:hover {
    background-color: var(--e-global-color-primary);
}

.wsp-admin-header .wsp-icon i.huge-whatsapp {
    font-size: 24px;
    color: #ffffff;
    line-height: 1;
}

.wsp-admin-header h1 {
    margin: 0;
    font-size: 22px;
}

/* -> Tarjeta */
.wsp-admin-card {
    background: #ffffff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    padding: 24px 28px;
    max-width: 560px;
    margin-top: 8px;
    transition: box-shadow 0.2s ease;
}

.wsp-admin-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.wsp-admin-card .form-table th {
    padding-left: 0;
    font-weight: 600;
}

.wsp-admin-card .form-table td {
    padding-left: 0;
}

/* -> Campo de texto */
.wsp-admin-card input.regular-text {
    width: 260px;
    font-size: 15px;
    padding: 6px 10px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wsp-admin-card input.regular-text:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 1px #25D366;
    outline: none;
}

/* -> Preview */
.wsp-preview-wrap {
    margin-top: 14px;
}

.wsp-preview-label {
    font-size: 12px;
    color: #646970;
    margin-bottom: 6px;
}

#wsp-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    pointer-events: none;
    opacity: 0.9;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

#wsp-preview-link i.huge-whatsapp {
    font-size: 17px;
    color: #ffffff;
    line-height: 1;
    flex-shrink: 0;
}

/* -> Botón guardar */
.wsp-admin-card .submit {
    padding-left: 0;
}

.wsp-admin-card .button-primary {
    background-color: #25D366;
    border-color: #1ebe5d;
    font-size: 13px;
    height: 36px;
    padding: 0 18px;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.wsp-admin-card .button-primary:hover {
    background-color: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
    transform: translateY(-1px);
}

.wsp-admin-card .button-primary:active {
    transform: translateY(0);
}