/* == Efrat Contact Form == */

.efrat-cf-wrap {
    direction: rtl;
    font-family: 'Segoe UI', Arial, sans-serif;
    max-width: 720px;
    margin: 0 auto;
}

.efrat-cf-wrap * {
    box-sizing: border-box;
}

.efrat-cf-row {
    margin-bottom: 20px;
}

.efrat-cf-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .efrat-cf-two-col {
        grid-template-columns: 1fr;
    }
}

.efrat-cf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.efrat-cf-field label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.efrat-req {
    color: #c00;
    margin-right: 2px;
}

.efrat-cf-field input[type="text"],
.efrat-cf-field input[type="email"],
.efrat-cf-field input[type="tel"],
.efrat-cf-field select,
.efrat-cf-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    color: #222;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.efrat-cf-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 36px;
    cursor: pointer;
}

.efrat-cf-field input:focus,
.efrat-cf-field select:focus,
.efrat-cf-field textarea:focus {
    outline: none;
    border-color: #2a5e8c;
    box-shadow: 0 0 0 3px rgba(42,94,140,0.12);
}

.efrat-cf-field input.efrat-error,
.efrat-cf-field select.efrat-error,
.efrat-cf-field textarea.efrat-error {
    border-color: #c00;
}

.efrat-cf-field textarea {
    resize: vertical;
    min-height: 120px;
}

.efrat-cf-submit-row {
    margin-top: 8px;
    display: flex;
    justify-content: center;
}

.efrat-cf-btn,
.efrat-cf-btn:visited {
    display: block !important;
    width: 100% !important;
    max-width: 400px !important;
    padding: 14px 40px !important;
    background: #a50050 !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background 0.2s, transform 0.1s !important;
    font-family: inherit !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    line-height: normal !important;
    letter-spacing: normal !important;
}

.efrat-cf-btn:hover,
.efrat-cf-btn:focus {
    background: #7a003b !important;
    color: #fff !important;
    border: none !important;
    text-decoration: none !important;
}

.efrat-cf-btn:active {
    transform: scale(0.98);
    background: #1e4569 !important;
}

.efrat-cf-btn:disabled,
.efrat-cf-btn[disabled] {
    background: #aaa !important;
    color: #fff !important;
    cursor: not-allowed !important;
    border: none !important;
}

.efrat-cf-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 15px;
    display: none;
}

.efrat-cf-message.efrat-success {
    background: #e8f5e9;
    border: 1px solid #81c784;
    color: #2e7d32;
    display: block;
}

.efrat-cf-message.efrat-error {
    background: #ffebee;
    border: 1px solid #e57373;
    color: #c62828;
    display: block;
}
