.kct-form-wrapper {
    max-width: 780px;
    margin: 0 auto;
    background: #fdfdfc;
    border: 1px solid #d6d6cb;
    border-radius: 10px;
    padding: 24px;
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #1e1e1e;
    box-sizing: border-box;
}

.kct-form-wrapper * { box-sizing: border-box; }

.kct-section { margin-bottom: 28px; }

.kct-section-title {
    font-weight: 700;
    font-size: 15px;
    margin: 0 0 8px;
}

.kct-required { color: #e02424; }

.kct-optional-badge {
    display: inline-block;
    font-size: 12px;
    color: #6b6b60;
    background: #f6f6f4;
    border: 1px solid #d6d6cb;
    border-radius: 4px;
    padding: 0 4px;
    margin-left: 4px;
}

.kct-card {
    position: relative;
    background: #f6f6f4;
    border: 1px solid #d6d6cb;
    border-radius: 12px;
    padding: 16px 16px 18px;
    margin-bottom: 12px;
}

.kct-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #8a8a7d;
    cursor: pointer;
    padding: 4px 8px;
}
.kct-remove-btn:hover { color: #e02424; }

.kct-field { margin-bottom: 14px; }

.kct-field label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.kct-input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    background: #fdfdfc;
    border: 1px solid #d6d6cb;
    border-radius: 6px;
    font-size: 15px;
    color: #1e1e1e;
}

.kct-input:focus {
    outline: none;
    border-color: #0e75e8;
}

.kct-input-icon {
    display: flex;
    align-items: center;
    background: #fdfdfc;
    border: 1px solid #d6d6cb;
    border-radius: 6px;
    overflow: hidden;
    height: 40px;
}

.kct-input-icon .kct-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 100%;
    background: #f6f6f4;
    border-right: 1px solid #d6d6cb;
    color: #363630;
    font-size: 14px;
}

.kct-input-icon .kct-input {
    border: none;
    height: 100%;
    background: transparent;
}

.kct-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 4px;
}

.kct-checkbox {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #0e75e8;
    cursor: pointer;
}

.kct-checkbox-label {
    font-size: 13px;
    line-height: 1.4;
    color: #363630;
    cursor: pointer;
}

.kct-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #0e75e8;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 4px;
}
.kct-add-btn:hover { text-decoration: underline; }
.kct-plus { font-size: 16px; font-weight: 700; }

select.kct-input,
#kct-location,
#kct-source {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    background: #fdfdfc;
    border: 1px solid #d6d6cb;
    border-radius: 6px;
    font-size: 15px;
    color: #1e1e1e;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256'><path fill='%23363630' d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.kct-submit-btn {
    width: 100%;
    height: 48px;
    background: #0e75e8;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 8px;
}
.kct-submit-btn:hover { background: #0a63c4; }
.kct-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.kct-form-message {
    font-size: 14px;
    margin: 12px 0;
    min-height: 20px;
}
.kct-form-message.success { color: #157a3e; }
.kct-form-message.error { color: #e02424; }

.kct-input.kct-invalid,
select.kct-invalid {
    border-color: #e02424;
}
