.agendor-form-container {
    font-family: sans-serif;
    max-width: 450px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    box-sizing: border-box;
}

.agendor-form-group {
    margin-bottom: 15px;
}

.agendor-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

.agendor-form-group input,
.agendor-form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.agendor-form-btn {
    background-color: #007cba;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.agendor-form-btn:hover {
    background-color: #006ba1;
}

.agendor-msg {
    margin-top: 15px;
    font-weight: bold;
    font-size: 14px;
    display: none;
}

.agzap-hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    z-index: -1 !important;
    overflow: hidden !important;
}

.agw-inline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366 !important;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s, transform 0.1s;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.agw-inline-btn:hover {
    background-color: #ff7c3b !important;
    transform: translateY(-1px);
}

.agw-inline-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.agw-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.agw-modal-backdrop.agw-modal-open {
    display: flex;
    opacity: 1;
}

.agw-modal-card {
    width: 400px;
    max-width: 90%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: agwModalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

@keyframes agwModalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.agw-modal-header {
    background-color: #25d366;
    color: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agw-modal-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    color: #fff;
}

.agw-modal-title svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    margin-right: 10px;
}

.agw-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin: 0;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.agw-modal-close:hover {
    opacity: 1;
}

.agw-modal-body {
    padding: 20px;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

.agw-modal-greeting {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.agw-modal-form-group {
    margin-bottom: 16px;
    text-align: left;
}

.agw-modal-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.agw-modal-form-group input {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    background-color: #fff !important;
    color: #333 !important;
    margin: 0 !important;
    height: auto !important;
}

.agw-modal-form-group input:focus {
    border-color: #25d366 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2) !important;
}

.agw-modal-submit-btn {
    width: 100%;
    background-color: #25d366;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.agw-modal-submit-btn:hover {
    background-color: #ff7c3b;
}

.agw-modal-submit-btn:disabled {
    background-color: #a5d6a7;
    cursor: not-allowed;
}

.agw-modal-msg {
    margin-top: 12px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    display: none;
}

.agw-phone-input-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.agw-phone-input-wrap:focus-within {
    border-color: #25d366 !important;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2) !important;
}

.agw-country-select {
    flex: 0 0 auto !important;
    width: 100px !important;
    max-width: 105px !important;
    background: #f4f4f5 !important;
    border: none !important;
    border-right: 1px solid #ddd !important;
    padding: 10px 4px !important;
    font-size: 13px !important;
    color: #333 !important;
    cursor: pointer;
    outline: none !important;
    border-radius: 0 !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.agw-phone-input-wrap input.agw-phone-mask {
    flex: 1 1 auto !important;
    width: 0 !important;
    min-width: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.agw-phone-input-wrap input.agw-phone-mask:focus {
    box-shadow: none !important;
    border-color: transparent !important;
}

.agendor-form-group .agw-phone-input-wrap {
    border-radius: 4px !important;
}

.agendor-form-group .agw-country-select {
    padding: 8px 6px !important;
}
