.sync-basalam-vendor-step {
    text-align: right;
}

.sync-basalam-vendor-form-group {
    margin-bottom: 20px;
}

.sync-basalam-vendor-input {
    max-width: unset !important;
    text-align: right;
}

.sync-basalam-vendor-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--basalam-gray-700);
    font-family: PelakFA;
    font-size: 14px;
}

.sync-basalam-vendor-hint {
    display: block;
    margin-top: 4px;
    color: var(--basalam-gray-600);
    font-size: 12px;
    font-family: PelakFA;
    text-align: right;
}

.sync-basalam-vendor-location-group {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

textarea.sync-basalam-vendor-input {
    max-width: unset !important;
    text-align: right;
    resize: vertical;
    font-family: PelakFA;
}

.sync-basalam-vendor-form-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.sync-basalam-vendor-loading {
    text-align: center;
    padding: 40px 20px;
}

.sync-basalam-vendor-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--basalam-gray-200);
    border-top: 4px solid var(--basalam-primary-color);
    border-radius: 50%;
    animation: sync-basalam-vendor-spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes sync-basalam-vendor-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sync-basalam-vendor-loading p {
    color: var(--basalam-gray-600);
    font-family: PelakFA;
    margin: 0;
}

.sync-basalam-vendor-success {
    text-align: center;
    padding: 40px 20px;
}

.sync-basalam-vendor-success-icon {
    width: 60px;
    height: 60px;
    background: var(--basalam-success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    font-weight: bold;
}

.sync-basalam-vendor-success p {
    color: var(--basalam-gray-700);
    font-family: PelakFA;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.basalam-button-secondary {
    background-color: var(--basalam-gray-500);
    color: white;
}

.basalam-button-secondary:hover {
    background-color: var(--basalam-gray-600);
}

.sync-basalam-vendor-input.error {
    border-color: var(--basalam-danger-color);
}

.sync-basalam-vendor-error-message {
    color: var(--basalam-danger-color);
    font-size: 12px;
    margin-top: 4px;
    font-family: PelakFA;
    text-align: right;
}

.sync-basalam-vendor-input.success {
    border-color: var(--basalam-success-color, #28a745);
}

.sync-basalam-vendor-success-message {
    color: var(--basalam-success-color, #28a745);
    font-size: 12px;
    margin-top: 4px;
    font-family: PelakFA;
    text-align: right;
}

.sync-basalam-vendor-loading-message {
    color: var(--basalam-gray-600);
    font-size: 12px;
    margin-top: 4px;
    font-family: PelakFA;
    text-align: right;
}

.sync-basalam-vendor-notice {
    background: #fff4e5;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    font-family: PelakFA;
}

.sync-basalam-vendor-notice-title {
    font-weight: 700;
    color: #856404;
    margin-bottom: 10px;
    font-size: 14px;
}

.sync-basalam-vendor-notice-list {
    margin: 0;
    padding-right: 20px;
    list-style: disc;
}

.sync-basalam-vendor-notice-list li {
    color: #856404;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 5px;
}

.sync-basalam-vendor-phone-display {
    width: -webkit-fill-available;
    padding: 3px;
    padding-left: 10px;
    background: var(--basalam-gray-100, #f1f3f4);
    border: 1px solid var(--basalam-gray-300);
    border-radius: 8px;
    padding: 6px 15px;
    font-family: PelakFA;
    font-size: 16px;
    font-weight: 600;
    color: var(--basalam-gray-800);
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sync-basalam-vendor-phone-display span {
    flex: 1;
    text-align: left;
}

.sync-basalam-vendor-phone-section {
    margin-bottom: 8px;
}

.sync-basalam-vendor-phone-display-container {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.sync-basalam-vendor-phone-edit-container {
    margin-bottom: 8px;
}

.sync-basalam-vendor-phone-edit-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sync-basalam-vendor-phone-edit-group .sync-basalam-vendor-input {
    flex: 1;
    margin: 0;
}

.sync-basalam-vendor-icon-btn {
    background: transparent;
    border: 1px solid var(--basalam-gray-300);
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--basalam-gray-600);
    transition: all 0.2s;
    min-width: 36px;
    height: 36px;
}

.sync-basalam-vendor-icon-btn:hover {
    background: var(--basalam-gray-50);
    color: var(--basalam-gray-800);
    border-color: var(--basalam-gray-400);
}

.sync-basalam-vendor-icon-btn-success {
    color: var(--basalam-success-color, #28a745);
    border-color: var(--basalam-success-color, #28a745);
}

.sync-basalam-vendor-icon-btn-success:hover {
    background: rgba(40, 167, 69, 0.1);
    color: var(--basalam-success-color, #28a745);
}

.sync-basalam-vendor-icon-btn-danger {
    color: var(--basalam-danger-color, #dc3545);
    border-color: var(--basalam-danger-color, #dc3545);
}

.sync-basalam-vendor-icon-btn-danger:hover {
    background: rgba(220, 53, 69, 0.1);
    color: var(--basalam-danger-color, #dc3545);
}

.sync-basalam-vendor-phone-error {
    color: var(--basalam-danger-color);
    font-size: 12px;
    margin-top: 8px;
    font-family: PelakFA;
    text-align: right;
    display: none;
}

.sync-basalam-vendor-checkboxes {
    margin-top: 20px;
    padding: 15px;
    background: var(--basalam-gray-50, #f8f9fa);
    border-radius: 8px;
}

.sync-basalam-vendor-checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    cursor: pointer;
    font-family: PelakFA;
    font-size: 13px;
    line-height: 1.8;
}

.sync-basalam-vendor-checkbox-container:last-child {
    margin-bottom: 0;
}

.sync-basalam-vendor-checkbox {
    margin-left: 10px;
    margin-top: 3px;
    min-width: 18px;
    height: 18px;
    cursor: pointer;
}

.sync-basalam-vendor-checkbox-text {
    flex: 1;
    color: var(--basalam-gray-700);
    text-align: right;
}

.sync-basalam-vendor-checkbox-text a {
    color: var(--basalam-primary-color);
    text-decoration: none;
}

.sync-basalam-vendor-checkbox-text a:hover {
    text-decoration: underline;
}

.sync-basalam-vendor-checkbox-error {
    color: var(--basalam-danger-color);
    font-size: 12px;
    margin-top: 10px;
    font-family: PelakFA;
    text-align: right;
    padding: 8px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 4px;
}

@media (max-width: 768px) {

    .sync-basalam-vendor-form-actions {
        flex-direction: column;
    }

    .booth-form-actions .basalam-button {
        width: 100%;
    }
}