/* Simple Contact Form — Public Styles */
/* Modern design with icons, 2-column layout, and green submit button */

/* ── Wrapper ── */
.scf-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.scf-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.scf-form,
.scf-form * {
    box-sizing: border-box;
}

/* ── Header ── */
.scf-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.scf-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.scf-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ── Fields Grid ── */
.scf-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
}

.scf-fg--half {
    width: calc(50% - 10px);
    margin-bottom: 20px;
}

.scf-fg--full {
    width: 100%;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .scf-fg--half {
        width: 100%;
    }
}

/* ── Labels ── */
.scf-lbl {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
    color: #333;
    letter-spacing: 0.01em;
}

.scf-req {
    color: #E74C3C;
    font-weight: 700;
}

/* ── Inputs ── */
.scf-inp {
    display: block;
    width: 100%;
    padding: 11px 14px 11px 42px;
    font-size: 14px;
    line-height: 1.5;
    border: 1.5px solid #E2E6E4;
    border-radius: 8px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 18px 18px;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.scf-inp::placeholder {
    color: #aaa;
    font-size: 13.5px;
}

.scf-inp:focus {
    outline: none;
    border-color: #008B57;
    box-shadow: 0 0 0 3px rgba(0, 139, 87, 0.1);
}

textarea.scf-inp {
    resize: vertical;
    min-height: 110px;
    padding-top: 12px;
}

select.scf-inp {
    cursor: pointer;
    appearance: none;
    padding-right: 36px;
}

/* Select wrapper for custom arrow */
.scf-select-wrap {
    position: relative;
}

.scf-select-wrap::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #999;
    pointer-events: none;
}

/* ── Options (radio/checkbox) ── */
.scf-opts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.scf-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.scf-opt input {
    accent-color: #008B57;
    width: 16px;
    height: 16px;
}

/* ── File Upload ── */
.scf-file-wrap {
    width: 100%;
}

.scf-file-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px;
    border: 2px dashed #D0D5D2;
    border-radius: 10px;
    background: #FAFBFA;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-align: center;
}

.scf-file-area:hover {
    border-color: #008B57;
    background: #F0FBF6;
}

.scf-file-input {
    display: none;
}

.scf-file-icon {
    opacity: 0.7;
}

.scf-file-label {
    font-size: 13.5px;
    color: #555;
    font-weight: 500;
}

.scf-file-info {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 6px;
}

/* ── Help Text ── */
.scf-help {
    font-size: 12px;
    margin-top: 4px;
    color: #999;
}

/* ── Submit Button ── */
button.scf-sub,
.scf-sub {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 15px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: filter 0.2s, transform 0.1s, box-shadow 0.2s;
    background-color: var(--scf-accent, #008B57) !important;
    color: #fff !important;
    letter-spacing: 0.01em;
    font-family: inherit !important;
    margin: 4px 0 0 0 !important;
    text-align: center !important;
    line-height: 1.5 !important;
    float: none !important;
    box-sizing: border-box !important;
}

.scf-sub:hover {
    filter: brightness(0.9);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.scf-sub:active {
    transform: translateY(1px);
    box-shadow: none;
}

/* ── Messages ── */
.scf-msg {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13.5px;
    font-weight: 500;
}

.scf-msg-ok {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.scf-msg-err {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.scf-no-fields {
    text-align: center;
    color: #8c8f94;
    padding: 2rem;
}

.scf-hp {
    display: none !important;
}

/* ── Loading State ── */
.scf-sub:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
