.angie-custom-form-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.angie-form-fields-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.angie-form-field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.angie-form-label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.angie-required-mark {
    color: #d9534f;
}

.angie-form-field-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #fff;
    transition: border-color 0.2s;
}

.angie-form-field-input:focus {
    border-color: #3b82f6;
    outline: none;
}

textarea.angie-form-field-input {
    min-height: 120px;
    resize: vertical;
}

.angie-form-options-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.angie-option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

/* Submit Button & Alignment Wrapper Classing */
.angie-form-submit-wrap {
    width: 100%;
}

.angie-submit-align-left- .angie-form-submit-wrap {
    text-align: left;
}
.angie-submit-align-center- .angie-form-submit-wrap {
    text-align: center;
}
.angie-submit-align-right- .angie-form-submit-wrap {
    text-align: right;
}
.angie-submit-align-justify- .angie-form-submit-btn {
    width: 100%;
}

.angie-form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #3b82f6;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
}

.angie-form-submit-btn:hover {
    background-color: #2563eb;
}

.angie-form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner */
.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: angie-spin 0.8s linear infinite;
}

@keyframes angie-spin {
    to { transform: rotate(360deg); }
}

/* Response messaging style */
.angie-form-response-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.angie-form-response-message.success {
    background-color: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.angie-form-response-message.error {
    background-color: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}
