.shatibi-form {
    max-width: 720px;
    margin: 0 auto;
    font-family: inherit;
}

.shatibi-fieldset {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.shatibi-fieldset legend {
    font-size: 1.15em;
    font-weight: 600;
    padding: 0 8px;
    color: #1d2327;
}

.shatibi-field {
    margin-bottom: 16px;
    flex: 1;
}

.shatibi-field label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 0.95em;
}

.shatibi-field input[type="text"],
.shatibi-field input[type="email"],
.shatibi-field input[type="tel"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.shatibi-field input:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
}

.shatibi-field--small {
    max-width: 160px;
}

.shatibi-row {
    display: flex;
    gap: 16px;
}

.shatibi-radio-group {
    display: flex;
    gap: 20px;
}

.shatibi-radio-group label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.shatibi-required {
    color: #d63638;
}

/* Course cards */
.shatibi-courses {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shatibi-course-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.shatibi-course-card:hover {
    border-color: #2271b1;
    background: #f0f6fc;
}

.shatibi-course-card:has(input:checked) {
    border-color: #2271b1;
    background: #f0f6fc;
}

.shatibi-course-card input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #2271b1;
}

.shatibi-course-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shatibi-course-info strong {
    font-size: 1.05em;
}

.shatibi-course-info small {
    color: #666;
}

.shatibi-course-price {
    font-weight: 600;
    color: #1d2327;
}

.shatibi-reduced {
    font-weight: 400;
    color: #666;
    font-size: 0.9em;
}

/* Submit */
.shatibi-submit {
    text-align: center;
    margin-top: 8px;
}

.shatibi-btn {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 14px 48px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.shatibi-btn:hover {
    background: #135e96;
}

/* Notices */
.shatibi-notice {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.95em;
    line-height: 1.6;
}

.shatibi-notice--success {
    background: #edfaef;
    border: 1px solid #00a32a;
    color: #1a5c2a;
}

.shatibi-notice--error {
    background: #fcf0f1;
    border: 1px solid #d63638;
    color: #8a1e1e;
}

.shatibi-error {
    color: #d63638;
    font-weight: 600;
}

@media (max-width: 600px) {
    .shatibi-row {
        flex-direction: column;
        gap: 0;
    }
    .shatibi-field--small {
        max-width: none;
    }
    .shatibi-fieldset {
        padding: 16px;
    }
}
