.csf-form-container {
    max-width: 450px;
    margin: 20px auto;
    font-family: 'Karla', sans-serif;
}

.csf-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

/* Inputs and Textarea exact styling */
.csf-input-wrapper input,
.csf-input-wrapper textarea {
    width: 100%;
    padding: 10px 45px 10px 20px; /* Right padding adjusted for icons */
    border: 2px solid #d4ebf8;
    border-radius: 8px;
    font-size: 16px;
    color: #557c93;
    background: #ffffff;
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Theme overrides compatibility */
input[type="text"], input[type="number"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type=reset], input[type=tel], input[type=date], select {
    height: 50px;
}

.csf-input-wrapper textarea {
    resize: vertical;
    min-height: 100px;
}

/* Placeholder styling - Updated Color */
.csf-input-wrapper input::placeholder,
.csf-input-wrapper textarea::placeholder {
    color: #7996b0;
    opacity: 0.8;
}

/* Icon Alignment Inside Inputs */
.csf-input-wrapper .csf-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #33cfff; 
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.csf-input-wrapper .textarea-icon {
    top: 25px; 
}

.csf-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Exact Button from Screenshot */
.csf-submit-btn {
    display: inline-flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    gap: 8px;
    background-color: #34ccff; 
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(51, 207, 255, 0.3);
    transition: background-color 0.2s ease, transform 0.1s ease;
    position: relative;
}

.csf-submit-btn:hover {
    background-color: #1ebbe7;
}

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

.csf-submit-btn .btn-icon {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
}

/* Disabled state when submitting */
.csf-submit-btn:disabled {
    background-color: #a0e6ff;
    cursor: not-allowed;
}

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

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

/* Success/Error Alerts */
.csf-response-msg {
    padding: 12px 15px;
    margin-top: 15px;
    border-radius: 6px;
    font-size: 14px;
    display: none; /* Managed by JS */
}
.csf-success { background: #e3fcef; color: #006644; display: block; }
.csf-error { background: #ffebe6; color: #bf2600; display: block; }



/* Sabhi browsers ke placeholders ke liye ek sath font family set karein */
.csf-input-wrapper input::placeholder,
.csf-input-wrapper textarea::placeholder {
    font-family: 'Karla', sans-serif !important;
    color: #7996b0;
    opacity: 0.8;
}

/* Internet Explorer aur Edge ke purane versions ke liye */
.csf-input-wrapper input:-ms-input-placeholder,
.csf-input-wrapper textarea:-ms-input-placeholder {
    font-family: 'Karla', sans-serif !important;
}