/*
    Baseline styling for the shared <TenantContactForm />.
    Tenants may override any of these by passing their own CSS classes via the
    component's *CssClass parameters; these defaults keep an unthemed tenant
    (e.g. a placeholder site) presentable without extra work.
*/

.tc-form {
    max-width: 640px;
}

.tc-field {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.tc-field label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.tc-req {
    color: #c0392b;
    margin-left: 3px;
}

.tc-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccd2d9;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.tc-input:focus {
    outline: none;
    border-color: #2f6fb0;
    box-shadow: 0 0 0 3px rgba(47, 111, 176, .18);
}

.tc-btn {
    display: inline-block;
    padding: 11px 26px;
    border: none;
    border-radius: 6px;
    background: #2f6fb0;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.tc-btn:hover:not(:disabled) {
    background: #255a91;
}

.tc-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.tc-validation {
    color: #c0392b;
    font-size: 13px;
    margin-top: 5px;
}

.tc-hint {
    color: #5c6773;
    font-size: 13px;
    margin-top: 6px;
}

.tc-file-list {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 13px;
    color: #37424e;
}

.tc-alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    border: 1px solid transparent;
}

.tc-alert-success {
    background: #e8f6ed;
    border-color: #b6e0c4;
    color: #1d6b3a;
}

.tc-alert-error {
    background: #fdeceb;
    border-color: #f5c2bf;
    color: #a62b23;
}

.tc-tracking {
    margin-top: 6px;
    font-size: 13px;
    opacity: .85;
}

/* Honeypot: hidden from users but not via display:none, which some bots detect. */
.tc-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
