/* Unique prefix 'ina-' used throughout to avoid conflicts */

.ina-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: #333;
    background: #fafafa;
    border-radius: 10px;
}

.ina-introduction {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ina-introduction h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.ina-introduction p {
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.ina-form {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.ina-category {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #eee;
}

.ina-category:last-child {
    margin-bottom: 2rem;
}

.ina-category h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.ina-category-description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ina-question {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.ina-question:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ina-question label {
    display: block;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.4;
}

.ina-scale {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.ina-scale-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s ease;
    position: relative;
}

.ina-scale-option:hover {
    background: #e9ecef;
    border-radius: 4px;
}

.ina-scale-option input[type="radio"] {
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.ina-scale-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    color: #495057;
}

.ina-scale-description {
    font-size: 0.75rem;
    color: #6c757d;
    text-align: center;
    margin-top: 0.25rem;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.ina-scale-option:hover .ina-scale-description {
    visibility: visible;
    opacity: 1;
    bottom: -25px;
}

.ina-submit {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto;
    display: block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.ina-submit:hover {
    background: #45a049;
    transform: translateY(-1px);
}

.ina-submit:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

/* Results Styling */
.ina-results {
    margin-top: 3rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
}

.ina-results.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.ina-results h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.ina-score-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    background: #f8f9fa;
    border-left: 4px solid #4CAF50;
}

.ina-score-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.ina-score-value {
    font-size: 1.4rem;
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.ina-feedback {
    color: #666;
    line-height: 1.6;
    margin-top: 1rem;
}

.ina-suggestions {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.ina-suggestion-item {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ina-container {
        margin: 1rem;
        padding: 1rem;
    }

    .ina-form {
        padding: 1rem;
    }

    .ina-category {
        padding: 1rem;
    }

    .ina-scale {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .ina-scale-option {
        flex: 1 1 18%;
        min-width: 60px;
    }

    .ina-scale-description {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        margin-top: 0.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
