.mod-kst-wrapper {
    width: 100%;
    max-width: 100%;
    background-color: rgba(255, 255, 255, 0.09);
    padding: 0;
    font-size: 16px;
    color: #333333;
    box-sizing: border-box;
}

.mod-kst-wrapper * {
    box-sizing: border-box;
}

.mod-kst-intro {
    margin-bottom: 20px;
    color: #333333;
}

.mod-kst-required {
    color: #d71b15;
    font-weight: 700;
}

.mod-kst-fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mod-kst-field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mod-kst-label {
    color: #333333;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 4px;
    display: block;
}

.mod-kst-desc {
    font-size: 13px;
    color: #666666;
    margin-bottom: 6px;
}

.mod-kst-stars-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.mod-kst-star-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 14px;
    color: #333333;
}

.mod-kst-star-label input[type="radio"] {
    accent-color: #0bc22a;
    cursor: pointer;
}

.mod-kst-star-icons .fa-star::before {
    color: #ffb527;
}

.mod-kst-star-icons .fa-star-half::before {
    color: #ffb527;
}

.mod-kst-input,
.mod-kst-textarea {
    font-size: 15px;
    color: #555555;
    background-color: #fffff9 !important;
    text-align: left;
    border: 1px solid #d71b15;
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s ease;
}

.mod-kst-input {
    height: 42px;
}

.mod-kst-textarea {
    min-height: 92px;
    resize: vertical;
    font-family: inherit;
}

.mod-kst-input:focus,
.mod-kst-textarea:focus {
    border-color: #b51510;
}

/* File Upload Dropzone */
.mod-kst-dropzone {
    border: 2px dashed #cccccc;
    border-radius: 10px;
    background-color: #fffff9;
    padding: 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.mod-kst-dropzone:hover {
    border-color: #0bc22a;
}

.mod-kst-upload-icon {
    color: #888888;
    margin-bottom: 8px;
}

.mod-kst-dropzone-text {
    font-size: 14px;
    color: #333333;
    margin-bottom: 4px;
}

.mod-kst-browse-link {
    color: #0bc22a;
    text-decoration: underline;
}

.mod-kst-dropzone-info {
    font-size: 12px;
    color: #777777;
}

.mod-kst-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.mod-kst-filename {
    font-size: 13px;
    color: #0bc22a;
    margin-top: 6px;
    font-weight: 500;
}

.mod-kst-captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.mod-kst-captcha-equation {
    font-size: 20px;
    font-weight: 400;
    color: #333333;
    white-space: nowrap;
}

.mod-kst-captcha-row .mod-kst-input {
    flex: 1;
}

.mod-kst-submit-wrap {
    margin-top: 4px;
}

.mod-kst-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0bc22a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 3px;
    padding: 11px 15px;
    cursor: pointer;
    width: auto;
    align-self: flex-start;
    line-height: 1.2;
    transition: background-color 0.2s ease;
}

.mod-kst-submit:hover {
    background-color: #09a123;
}

.mod-kst-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.mod-kst-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

.mod-kst-captcha-error {
    color: #d71b15;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.mod-kst-alert-error {
    display: none;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 3px;
    background-color: #fde8e8;
    color: #d71b15;
    border: 1px solid #d71b15;
    font-size: 14px;
}

.mod-kst-success {
    display: none;
    margin-top: 10px;
    padding: 16px 20px;
    border-radius: 4px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    font-size: 15px;
    line-height: 1.5;
}

.mod-kst-success p {
    margin: 0 0 8px 0;
}
.mod-kst-success p:last-child {
    margin-bottom: 0;
}
