.roco-wa-widget {
    position: fixed;
    bottom: 20px;
    z-index: 9999;
    font-family: Arial, sans-serif;
    line-height: 1.4;
}

.roco-wa-widget--bottom-left {
    left: 20px;
}

.roco-wa-widget--bottom-right {
    right: 20px;
}

.roco-wa-widget .roco-wa-trigger {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    margin: 0;
    border: 0 !important;
    border-radius: 50% !important;
    padding: 0;
    background: #25d366 !important;
    color: #ffffff !important;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.roco-wa-widget .roco-wa-trigger:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.roco-wa-icon {
    display: block;
    width: 30px;
    height: 30px;
    fill: #ffffff;
}

.roco-wa-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
}

.roco-wa-widget .roco-wa-dialog {
    position: relative;
    width: min(100%, 380px);
    border-radius: 12px;
    padding: 24px;
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.roco-wa-widget .roco-wa-heading {
    margin-bottom: 18px;
    padding-right: 28px;
}

.roco-wa-widget .roco-wa-heading h2 {
    margin: 0 0 8px;
    color: #1f2937 !important;
    font-family: Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}

.roco-wa-widget .roco-wa-heading p {
    margin: 0;
    color: #4b5563 !important;
    font-family: Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
}

.roco-wa-widget .roco-wa-close {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer;
}

.roco-wa-widget .roco-wa-dialog label {
    display: block;
    margin-bottom: 6px;
    color: #111827 !important;
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
}

.roco-wa-widget .roco-wa-dialog input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 16px;
    font-family: Arial, sans-serif !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
}

.roco-wa-phone-row {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.roco-wa-country-code,
.roco-wa-phone-number {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.roco-wa-widget .roco-wa-country-code label,
.roco-wa-widget .roco-wa-phone-number label {
    display: flex;
    align-items: flex-end;
    min-height: 20px;
}

.roco-wa-country-code,
.roco-wa-phone-number {
    min-width: 0;
}

.roco-wa-widget .roco-wa-dialog button[type='submit'] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    border: 0 !important;
    border-radius: 8px;
    padding: 12px 14px;
    background: #128c7e !important;
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.08em !important;
    cursor: pointer;
}

.roco-wa-widget .roco-wa-error {
    margin: -4px 0 12px;
    color: #b91c1c;
    font-size: 13px;
    font-family: Arial, sans-serif !important;
}

@media (max-width: 480px) {
    .roco-wa-widget {
        bottom: 16px;
    }

    .roco-wa-widget--bottom-left {
        left: 16px;
    }

    .roco-wa-widget--bottom-right {
        right: 16px;
    }

    .roco-wa-widget .roco-wa-trigger {
        width: 56px;
        height: 56px;
    }

    .roco-wa-phone-row {
        grid-template-columns: 1fr;
    }
}
