/**
 * BillBuddy Shortcodes Styles
 * Contains styling for all BillBuddy shortcodes used in the frontend
 */

/* Bill Text Shortcode Styles */
.billtext-container {
    background: #f8f9fa;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    white-space: pre-wrap;
    font-family: monospace;
    line-height: 1.5;
    margin: 0;
    overflow-y: auto;
}
.billtext-container del {
    text-decoration: line-through;
    color: #dc3545;
}

/* Bill Data Shortcode Styles */
.billdata-container.billdata-bill_text {
    background: #f8f9fa;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    white-space: pre-wrap;
    font-family: monospace;
    line-height: 1.5;
    margin: 0;
    overflow-y: auto;
}
.billdata-container.billdata-bill_text del {
    text-decoration: line-through;
    color: #dc3545;
}

/* Bill Stat Bar Shortcode Styles */
.billbuddy-statbar-container {
    margin: 15px 0 0 0; /* Removed bottom margin, keeping top margin */
}
.billbuddy-statbar-wrapper {
    position: relative;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    height: 30px; /* Default height */
}
.billbuddy-statbar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease-in-out;
    position: relative;
}
.billbuddy-statbar-score-box {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: #333;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 2px;
    margin-right: 4px;
}

/* Special styling for zero score */
.billbuddy-statbar-score-zero {
    right: auto;
    left: 4px;
    margin-right: 0;
}

/* Bill Status Shortcode Styles - Basic styles are in billbuddy.css */

/* Specific status colors for frontend */
.status-step.active .step-circle {
    background: #007bff;
    border-color: #007bff;
}

.status-step.active .step-label {
    color: #007bff;
    font-weight: bold;
}

/* Specific status colors */
.status-step.active.step-held .step-circle {
    background: #dc3545;
    border-color: #dc3545;
}

.status-step.active.step-held .step-label {
    color: #dc3545;
    font-weight: bold;
}

.status-step.active.step-comm_passed .step-circle {
    background: #ff9107;
    border-color: #ff9107;
}

.status-step.active.step-comm_passed .step-label {
    color: #ff9107;
    font-weight: bold;
}

.status-step.active.step-floor_passed .step-circle {
    background: #28a745;
    border-color: #28a745;
}

.status-step.active.step-floor_passed .step-label {
    color: #28a745;
    font-weight: bold;
}

.status-step.active.step-law .step-circle {
    background: #28a745;
    border-color: #28a745;
}

.status-step.active.step-law .step-label {
    color: #28a745;
    font-weight: bold;
}

/* Line coloring for different status levels is handled by status-level utility classes below */

/* Responsive styles for mobile are handled by JavaScript adding the mobile-view class */

/* Status line coloring utility classes are now in billbuddy.css */

/* Mobile view classes are now in billbuddy.css */
