.wl-widget-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.wl-header {
    margin-bottom: 20px;
}

.wl-eyebrow {
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
}

.wl-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.wl-subtitle {
    font-size: 16px;
    margin: 0;
}

.wl-form {
    display: flex;
    flex-direction: column;
}

.wl-fields-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.wl-field-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    width: 100%;
}

.wl-field-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

.wl-req {
    color: #ff3333;
    margin-left: 3px;
}

.wl-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 15px;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wl-input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

.wl-submit-btn {
    position: relative;
    cursor: pointer;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.wl-submit-btn:active {
    transform: scale(0.98);
}

/* Loader Styles */
.wl-btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: wl-spin 0.8s linear infinite;
    margin-left: 10px;
}

.wl-submit-btn.wl-loading .wl-btn-loader {
    display: inline-block;
}

.wl-submit-btn.wl-loading {
    pointer-events: none;
    opacity: 0.8;
}

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

.wl-form-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.wl-form-message.wl-error {
    background-color: #fce8e6;
    color: #c5221f;
    border: 1px solid #fad2cf;
}

/* Success box wrapper */
.wl-success-container {
    padding: 30px;
    background-color: #f4faf6;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #d1eedb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.wl-success-title {
    color: #1e7e34;
    font-size: 22px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.wl-success-desc {
    font-size: 15px;
    color: #2b5435;
    line-height: 1.5;
}
