/* LifeTown Curriculum — Interaction Styles */

/* Taxonomy Badges */
.ltc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.ltc-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.ltc-badge-store {
    background: #F7B332;
    color: #fff;
}

.ltc-badge-skill {
    background: #FDF3DD;
    color: #093266;
}

.ltc-badge-grade {
    background: #FDF0EC;
    color: #093266;
    border: 1px solid #F7B332;
}

/* Interaction Panel */
.ltc-interaction-panel {
    margin-top: 48px;
    padding: 32px;
    background: #FDF0EC;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ltc-interaction {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* "I Used This" Button */
.ltc-btn-used {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 48px;
    background: #F7B332;
    border: none;
    border-radius: 24px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 56px;
}

.ltc-btn-used:hover {
    background: #D49013;
}

.ltc-btn-used:active {
    background: #C06B4F;
    transform: scale(0.97);
}

.ltc-btn-used.active {
    background: #2D8659;
    color: #fff;
}

.ltc-used-icon {
    font-size: 20px;
}

.ltc-used-count {
    font-size: 14px;
    color: #5C5550;
}

/* Star Rating */
.ltc-stars {
    display: inline-flex;
    gap: 4px;
}

.ltc-star {
    background: none;
    border: none;
    font-size: 32px;
    color: #E0DCD8;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: color 0.15s ease, transform 0.15s ease;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ltc-star:hover,
.ltc-star.hovered {
    color: #F5A623;
}

.ltc-star.active {
    color: #F5A623;
}

.ltc-star.just-clicked {
    transform: scale(1.15);
}

.ltc-rating-info {
    font-size: 14px;
    color: #5C5550;
}

.ltc-rating-confirm {
    font-size: 14px;
    color: #2D8659;
    font-weight: 500;
}

/* Feedback Panel */
.ltc-btn-feedback {
    padding: 12px 24px;
    background: #fff;
    border: 2px solid #E8E4E0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #093266;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ltc-btn-feedback:hover {
    border-color: #F7B332;
}

.ltc-feedback-panel {
    width: 100%;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
}

.ltc-slider-group {
    margin-bottom: 20px;
}

.ltc-slider-group label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: #093266;
    margin-bottom: 4px;
}

.ltc-slider-group .ltc-slider-desc {
    font-size: 13px;
    color: #9C9590;
    margin-bottom: 8px;
}

.ltc-slider-group input[type="range"] {
    width: 100%;
    accent-color: #F7B332;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: #E8E4E0;
    border-radius: 4px;
    outline: none;
}

.ltc-slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #E8967A;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.ltc-slider-value {
    font-size: 16px;
    font-weight: 700;
    color: #F7B332;
    min-width: 32px;
    text-align: center;
}

.ltc-slider-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.ltc-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.ltc-btn-primary {
    padding: 16px 32px;
    background: #F7B332;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s ease;
    min-height: 48px;
}

.ltc-btn-primary:hover {
    background: #D49013;
}

/* View Count */
.ltc-view-count {
    font-size: 13px;
    color: #9C9590;
}

/* Login Prompt */
.ltc-login-prompt {
    text-align: center;
}

.ltc-login-prompt a {
    color: #F7B332;
    font-weight: 600;
}

/* Curriculum Card (archive grid) */
.ltc-curriculum-card {
    background: #fff;
    border: 1px solid #E8E4E0;
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ltc-curriculum-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 58, 92, 0.08);
}

.ltc-curriculum-card a {
    text-decoration: none;
    color: inherit;
}

.ltc-curriculum-card h3 {
    color: #093266;
    margin: 0 0 8px;
    font-size: 1.125rem;
}

.ltc-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #9C9590;
    margin-top: 12px;
}

/* Kiosk Mode Overrides */
@media (prefers-reduced-motion: no-preference) {
    .ltc-star.just-clicked {
        animation: ltc-star-pop 0.3s ease;
    }

    @keyframes ltc-star-pop {
        0% { transform: scale(1); }
        50% { transform: scale(1.15); }
        100% { transform: scale(1); }
    }
}

.ltc-kiosk-mode .ltc-interaction-panel {
    padding: 32px;
    gap: 32px;
}

.ltc-kiosk-mode .ltc-star {
    font-size: 48px;
    min-width: 64px;
    min-height: 64px;
    padding: 8px;
}

.ltc-kiosk-mode .ltc-btn-used {
    padding: 20px 56px;
    font-size: 20px;
    min-height: 64px;
}

.ltc-kiosk-mode .ltc-btn-primary {
    padding: 20px 40px;
    font-size: 18px;
    min-height: 56px;
}

.ltc-kiosk-mode .ltc-badge {
    font-size: 16px;
    padding: 8px 20px;
}

.ltc-kiosk-mode .ltc-slider-group input[type="range"]::-webkit-slider-thumb {
    width: 40px;
    height: 40px;
}

/* Registration Form */
.ltc-register-form {
    max-width: 480px;
    margin: 0 auto;
}

.ltc-field {
    margin-bottom: 16px;
}

.ltc-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #093266;
    font-size: 15px;
}

.ltc-field input,
.ltc-field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E8E4E0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ltc-field input:focus,
.ltc-field select:focus {
    border-color: #F7B332;
    box-shadow: 0 0 0 3px #FBE4DB;
    outline: none;
}

.ltc-field-note {
    font-size: 13px;
    color: #9C9590;
    margin-top: 4px;
}

.ltc-messages {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
}

.ltc-messages.error {
    background: #fee;
    color: #c00;
}

.ltc-messages.success {
    background: #E6F4ED;
    color: #2D8659;
}
