/* ========== Tatakas Contact Request Modal (Bagian 10) ========== */
.tcf-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: "IBM Plex Sans", system-ui, sans-serif;
}
.tcf-modal.tcf-open {
    display: flex;
}
.tcf-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 32, 58, 0.6);
    backdrop-filter: blur(3px);
}
.tcf-dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #faf8f3;
    border: 1px solid #d9d3c2;
    border-radius: 14px;
    padding: 28px 26px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
}
.tcf-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    color: #5b6270;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
}
.tcf-close:hover {
    background: #f1eee4;
    color: #1a1d22;
}
.tcf-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #12203a;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.tcf-sub {
    font-size: 0.88rem;
    color: #5b6270;
    margin: 0 0 18px;
}
.tcf-message {
    display: none;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.86rem;
    margin-bottom: 14px;
}
.tcf-message.tcf-error {
    display: block;
    background: #f6e5e0;
    color: #a83f2e;
    border: 1px solid #ecc9c1;
}
.tcf-message.tcf-success {
    display: block;
    background: #e4f1eb;
    color: #1c7a5e;
    border: 1px solid #bfe0d2;
}
.tcf-field {
    margin-bottom: 13px;
}
.tcf-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1a1d22;
    margin-bottom: 5px;
}
.tcf-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d3c2;
    border-radius: 8px;
    background: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1a1d22;
}
.tcf-input:focus {
    outline: 2px solid #3d4e9e;
    outline-offset: -1px;
    border-color: #3d4e9e;
}
.tcf-textarea {
    resize: vertical;
    min-height: 84px;
}
.tcf-turnstile {
    min-height: 65px;
}
.tcf-submit {
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    background: #12203a;
    color: #edeef2;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}
.tcf-submit:hover {
    background: #1b2e52;
}
.tcf-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Toast "Permintaan terkirim" */
.tcf-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 10001;
    background: #1c7a5e;
    color: #ffffff;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
    pointer-events: none;
}
.tcf-toast.tcf-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .tcf-modal,
    .tcf-toast {
        transition: none;
    }
}
