label {
    font-size: 14px;
}

/* Tombol Chat */
.chat-button {
    position: fixed;
    bottom: 25px;
    right: 20px;
    background-color: #25D366; /* Warna WhatsApp */
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.chat-button svg {
    width: 20px;
    height: 20px;
    fill: white;
}
/* Popup Chat */
.chat-popup {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    color: black;
    background: url('https://abu-assets.s3.ap-southeast-1.amazonaws.com/aido/bg-digita-sistem.svg') bottom no-repeat, linear-gradient(180deg, #FFFFFF 0%, #CFF2E8 100%);
    padding: 25px;
    width: 400px;
    max-width: 90%;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    z-index: 1001;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}


/* Form Elements */
.chat-popup input,
.chat-popup select,
.chat-popup textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #e5e5e5;
    font-size: 14px;
    box-sizing: border-box;
}

/* Close button */
.close-chat {
    float: right;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
}

/* Feedback */
.chat-response {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
    text-decoration: underline;
}

/* Required asterisk */
.required {
    color: red;
}

.chat-submit-btn {
    width: 100%;
    background-color: #00BD84 !important;
    color: white !important;
    padding: 5px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    transition: background 0.2s ease;
}

.chat-submit-btn:hover {
    background-color: #1ebe5d;
}

.chat-wa-icon {
    width: 20px;
    height: 20px;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #25D366;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

 .g-recaptcha {
    transform: scale(0.7);
    transform-origin: 0 0;
}

.alert-captcha {
    margin-top: -25px;
    font-size: 12px;
    color: red;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .chat-popup {
        right: 10px;
        left: 10px;
        width: auto;
        padding: 20px;
    }

    .chat-button {
        right: 10px;
        bottom: 20px;
    }

    .g-recaptcha {
        transform: scale(0.5);
        transform-origin: 0 0;
    }

    .chat-submit-btn {
        margin-top: -20px;
    }
}
