.sti-form-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 35px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(29, 43, 104, 0.08);
    border: 1px solid #f0f2f8;
    border-top: 5px solid #1d2b68;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
}

.sti-form-group {
    margin-bottom: 25px;
}

.sti-form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.sti-col-half {
    flex: 1;
    min-width: calc(50% - 10px);
}

.sti-col-third {
    flex: 1;
    min-width: calc(33.333% - 15px);
}

.sti-form-label {
    display: block;
    color: #1d2b68;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.05em;
}

.sti-required {
    color: #ea1b75;
}

.sti-form-help {
    color: #666;
    font-size: 0.9em;
    margin: 0 0 10px 0;
    line-height: 1.4;
    font-style: italic;
}

.sti-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dce2f2;
    border-radius: 8px;
    background: #fcfcfc;
    color: #444;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.sti-form-control:focus {
    outline: none;
    border-color: #ea1b75;
    box-shadow: 0 0 0 3px rgba(234, 27, 117, 0.1);
    background: white;
}

select.sti-form-control {
    cursor: pointer;
}

.sti-form-radio-group {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.sti-radio-label, .sti-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #444;
    font-size: 1em;
    position: relative;
    user-select: none;
}

.sti-radio-label input, .sti-checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.sti-radio-custom {
    height: 20px;
    width: 20px;
    background-color: #f0f2f8;
    border: 2px solid #dce2f2;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s;
}

.sti-checkbox-custom {
    height: 20px;
    width: 20px;
    background-color: #f0f2f8;
    border: 2px solid #dce2f2;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.sti-radio-label:hover input ~ .sti-radio-custom,
.sti-checkbox-label:hover input ~ .sti-checkbox-custom {
    border-color: #ea1b75;
}

.sti-radio-label input:checked ~ .sti-radio-custom,
.sti-checkbox-label input:checked ~ .sti-checkbox-custom {
    background-color: #ea1b75;
    border-color: #ea1b75;
}

.sti-radio-custom:after {
    content: "";
    position: absolute;
    display: none;
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.sti-checkbox-custom:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sti-radio-label input:checked ~ .sti-radio-custom:after,
.sti-checkbox-label input:checked ~ .sti-checkbox-custom:after {
    display: block;
}

.sti-file-drop-zone {
    border: 2px dashed #dce2f2;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background: #f8f9fa;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sti-file-drop-zone:hover {
    border-color: #ea1b75;
    background: #fff5f8;
}

.sti-file-drop-zone i {
    font-size: 30px;
    color: #ea1b75;
    margin-bottom: 10px;
}

.sti-file-drop-zone p {
    color: #1d2b68;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.sti-file-subtext {
    display: block;
    color: #888;
    font-size: 0.85em;
}

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

.sti-form-consent {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #1d2b68;
}

.sti-consent-text {
    font-weight: 600;
    color: #1d2b68;
}

.sti-rgpd-text {
    font-size: 0.85em;
    color: #666;
    margin: 10px 0 0 30px;
    line-height: 1.5;
}

.sti-form-submit-row {
    margin-top: 30px;
}

.sti-btn-submit {
    background: linear-gradient(90deg, #ea1b75 0%, #ff5001 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sti-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(234, 27, 117, 0.4);
}

.sti-form-success-alert {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    margin-bottom: 20px;
    font-weight: bold;
}

.sti-form-error-alert {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    margin-bottom: 20px;
    font-weight: bold;
}

@media (max-width: 600px) {
    .sti-form-wrapper {
        padding: 20px;
    }
    .sti-col-half, .sti-col-third {
        min-width: 100%;
    }
    .sti-form-radio-group {
        flex-direction: column;
        gap: 10px;
    }
}
