/* Rating Form Basic Styling */
#ratingForm {
    max-width: 700px;
    margin: auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#ratingForm input[type="text"],
#ratingForm input[type="email"],
#ratingForm input[type="tel"],
#ratingForm input[type="number"] {
    width: 100%;
    max-width: 300px;
    padding: 8px 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.wpra-step {
    display: none;
}

.wpra-next, #ratingForm input[type="submit"], .wpra-start-btn {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    margin-top: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.wpra-next:hover, #ratingForm input[type="submit"]:hover, .wpra-start-btn:hover {
    background-color: #005c87;
}

#wpra-results {
    max-width: 700px;
    margin: 40px auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

/* Detailed Question Ratings */
.wpra-question-rating {
    margin-bottom: 25px;
}

.wpra-question-rating-title {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 15px;
}

.wpra-question-rating-title span {
    font-weight: normal;
    color: #666;
}

.wpra-question-rating-bar {
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.wpra-question-rating-fill {
    height: 100%;
    background: #3498db;
    border-radius: 10px;
}

.wpra-question-rating-scale {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Summary table styles */
.wpra-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.wpra-summary-table th, .wpra-summary-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.wpra-summary-table th {
    background: #e9ecef;
    font-weight: bold;
}

.wpra-summary-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Level indicators */
.wpra-level-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}

.beginner-indicator { background: #e74c3c; }
.intermediate-indicator { background: #f39c12; }
.midlevel-indicator { background: #f1c40f; }
.advance-indicator { background: #2ecc71; }
.elite-indicator { background: #3498db; }