/**
 * Skoolen Form - Frontend Styles
 * Premium design with teal accent
 */

.skoolen-form-container {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
}

.skoolen-form-title {
    margin-bottom: 28px;
    font-size: 1.5em;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.skoolen-form-progress {
    margin-bottom: 28px;
    position: relative;
}

.skoolen-form-progress .progress-bar {
    height: 4px;
    background: linear-gradient(90deg, #0d9488 0%, #14b8a6 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.skoolen-form-progress .step-indicator {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    background: #e2e8f0;
    margin: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

.skoolen-form-progress .step-indicator.active {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: #fff;
}

.skoolen-field {
    margin-bottom: 24px;
}

.skoolen-field label.skoolen-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
    font-size: 14px;
}

/* Label placement (Fluent Forms style) */
.skoolen-field.skoolen-label-left label.skoolen-label {
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 0;
    vertical-align: top;
    min-width: 120px;
}
.skoolen-field.skoolen-label-left .skoolen-input,
.skoolen-field.skoolen-label-left select,
.skoolen-field.skoolen-label-left textarea {
    display: inline-block;
    width: auto;
    min-width: 200px;
}
.skoolen-field.skoolen-label-right label.skoolen-label {
    display: inline-block;
    margin-left: 12px;
    margin-bottom: 0;
    order: 2;
}
.skoolen-field.skoolen-label-right {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
.skoolen-field.skoolen-label-right label.skoolen-label { order: 2; }
.skoolen-field.skoolen-label-right .skoolen-input,
.skoolen-field.skoolen-label-right select,
.skoolen-field.skoolen-label-right textarea { order: 1; }
.skoolen-field.skoolen-label-right .skoolen-help-message { width: 100%; order: 3; }

.skoolen-help-message {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
    line-height: 1.5;
}

.skoolen-field .required {
    color: #dc2626;
    margin-left: 2px;
}

.skoolen-input,
.skoolen-field select,
.skoolen-field textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.skoolen-input:focus,
.skoolen-field select:focus,
.skoolen-field textarea:focus {
    border-color: #0d9488;
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.skoolen-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skoolen-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
}

.skoolen-section {
    margin: 32px 0 16px;
    border: none;
    border-top: 1px solid #e2e8f0;
}

.skoolen-section-break {
    margin: 32px 0 24px;
}
.skoolen-section-title {
    margin: 12px 0 8px;
    font-size: 1.15em;
    font-weight: 600;
    color: #64748b;
}
.skoolen-section-description {
    margin: 0 0 20px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.skoolen-rating {
    font-size: 28px;
    color: #e2e8f0;
    letter-spacing: 4px;
}

.skoolen-rating .star {
    cursor: pointer;
    transition: color 0.2s;
}

.skoolen-rating .star.active,
.skoolen-rating .star:hover {
    color: #fbbf24;
}

.skoolen-signature-pad {
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.skoolen-signature-pad canvas {
    display: block;
}

.skoolen-submit {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(13, 148, 136, 0.25);
}

.skoolen-submit:hover {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(13, 148, 136, 0.3);
}

.skoolen-form-message {
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 500;
}

.skoolen-form-message.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #86efac;
}

.skoolen-form-message.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.range-value {
    margin-left: 12px;
    font-weight: 600;
    color: #64748b;
    min-width: 36px;
}
