.scf-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

.scf-form .scf-field {
    margin-bottom: 24px;
}

.scf-form label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin-bottom: 8px;
}

.scf-required {
    color: #333;
}

.scf-form input[type="text"],
.scf-form input[type="email"],
.scf-form input[type="url"],
.scf-form input[type="tel"],
.scf-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.scf-form input[type="text"]:focus,
.scf-form input[type="email"]:focus,
.scf-form input[type="url"]:focus,
.scf-form input[type="tel"]:focus,
.scf-form textarea:focus {
    outline: none;
    border-color: #4a90d9;
    box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.15);
}

.scf-form textarea {
    resize: vertical;
    min-height: 120px;
}

.scf-form .scf-error {
    display: block;
    color: #d32f2f;
    font-size: 12px;
    margin-top: 4px;
    min-height: 0;
}

.scf-form input.scf-input-error,
.scf-form textarea.scf-input-error {
    border-color: #d32f2f;
}

.scf-consent-section {
    margin-top: 30px;
}

.scf-consent-label {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin-bottom: 12px !important;
}

.scf-checkbox-group {
    margin-bottom: 16px;
}

.scf-checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400 !important;
}

.scf-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #4a90d9;
    cursor: pointer;
}

.scf-checkbox-text {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.scf-submit-wrapper {
    margin-top: 30px;
}

.scf-submit-btn {
    display: inline-block;
    padding: 12px 40px;
    background-color: #555;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: inherit;
}

.scf-submit-btn:hover {
    background-color: #333;
}

.scf-submit-btn:disabled {
    background-color: #999;
    cursor: not-allowed;
}

.scf-submit-btn.scf-loading {
    position: relative;
    color: transparent;
}

.scf-submit-btn.scf-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: scf-spin 0.6s linear infinite;
}

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

.scf-messages {
    margin-bottom: 20px;
}

.scf-messages .scf-success {
    background-color: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 14px;
}

.scf-messages .scf-error-msg {
    background-color: #fce4ec;
    border: 1px solid #ef5350;
    color: #c62828;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 14px;
}

.iti {
    width: 100%;
    display: block;
    position: relative;
}

.iti input {
    width: 100%;
    padding-left: 90px !important;
}

.iti__flag-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.iti__selected-flag {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 8px;
    cursor: pointer;
    background: #f8f8f8;
    border-right: 1px solid #d0d0d0;
    border-radius: 4px 0 0 4px;
}

.iti__country-list {
    position: absolute;
    z-index: 9999;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    max-height: 200px;
    overflow-y: auto;
    width: 300px;
}

.iti__country {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 13px;
}

.iti__country:hover {
    background-color: #f0f0f0;
}

.iti__hide {
    display: none;
}

.iti--separate-dial-code .iti__selected-dial-code {
    margin-left: 8px;
    font-size: 14px;
}

@media (max-width: 600px) {
    .scf-form-wrapper {
        padding: 0 10px;
    }

    .scf-submit-btn {
        width: 100%;
    }
}
