.contact-form-crm-container {
    max-width: 650px;
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.5;
}

.contact-form-crm {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 2.5rem;
    border: 1px solid #eaeaea;
}

.cfc-field {
    margin-bottom: 1.6rem;
}

.cfc-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3338;
    font-size: 0.95rem;
}

.cfc-field input,
.cfc-field textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
    font-family: inherit;
}

.cfc-field input:focus,
.cfc-field textarea:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0,124,186,0.25);
    outline: none;
}

.cfc-field textarea {
    min-height: 120px;
    resize: vertical;
}

.cfc-captcha {
    background-color: #f8fafc;
    padding: 1.4rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 0.5rem;
}

.cfc-error {
    color: #d63638;
    font-size: 0.875rem;
    margin-top: 0.4rem;
    min-height: 1.2rem;
    display: block;
}

.cfc-field.has-error input,
.cfc-field.has-error textarea {
    border-color: #d63638;
    box-shadow: 0 0 0 2px rgba(214,54,56,0.15);
}

.required {
    color: #d63638;
}

.cfc-submit-btn {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.cfc-submit-btn:hover {
    background: linear-gradient(135deg, #006ba1 0%, #004c73 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.cfc-submit-btn:active {
    transform: translateY(0);
}

.cfc-submit-btn:disabled {
    background: #a1a1a1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cfc-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.cfc-submit-btn:disabled .cfc-loader {
    display: block;
}

.cfc-submit-btn:disabled .cfc-btn-text {
    opacity: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.cfc-response {
    margin-top: 1.2rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.cfc-response.success {
    background: #d4edda;
    color: #155724;
    display: block;
    border: 1px solid #c3e6cb;
}

.cfc-response.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
    border: 1px solid #f5c6cb;
}

@media (max-width: 600px) {
    .contact-form-crm {
        padding: 1.8rem;
        margin: 1rem;
    }
}