/* Main container */
.grb-report-builder {
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.5;
}

/* Report title */
.grb-report-title {
    color: #333;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
    text-align: left;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.grb-wrap{
    border:solid 1px #A80A0F !important;
    padding: 10px 12px;
}

.grb-cta{
    margin-top: 8px !important;
}

/* Section styling */
.grb-section {
    margin-bottom: 8px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.grb-section-title {
    color: #A80A0F;
    padding: 0 5px;
    margin: 0;
    font-size: 13px;
    font-weight: bold;
}

/* Chapter list */
.grb-chapter-list {
    padding: 10px 12px;
}

.grb-chapter-item {
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.grb-chapter-item:last-child {
    border-bottom: none;
}

.grb-chapter-item label {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
    margin: 0;
}

/* Checkbox styling */
.grb-chapter-item input[type="checkbox"] {
    margin-right:8px;
    width: 16px;
    height: 16px;
    accent-color: #A80A0F;
}

.grb-section-title input[type="checkbox"] {
    margin-right:8px;
    width: 16px;
    height: 16px;
    accent-color: #A80A0F;
}

.grb-chapter-name {
    font-weight: 500;
    flex-grow: 1;
    font-size: 13px;
}

.grb-file-info {
    color: #666;
    font-size: 0.9em;
    margin-left: 15px;
    font-family: monospace;
}

.grb-form-actions {
    width: auto;
    display: flex;          /* Makes children inline */
    gap: 10px;              /* Space between buttons */
    margin-top: 30px;
    align-items: center;    /* Vertically align buttons */
}

/* Existing button styles - keep these */
.grb-submit-button {
    background: #2a5885;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Hover states */
.grb-submit-button:hover {
    background: #1d466e;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.grb-submit-button {
    background: #A80A0F;
    color: #FFF;
    border: none;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.grb-submit-button:hover {
    background: #6b0609;
    color: #FFF;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* Download section */

.grb-download-button {
    position: relative;
    top: 40px;
    background: #2b5f2d;
    font-size: 16px;
    text-align: center !important;
    color: white;
    padding: 12px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.grb-download-button:hover {
    background: #0e4410;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* Loading animation */
#grb-loading {
    text-align: center;
    padding: 30px;
}

.grb-spinner {
    border: 4px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top: 4px solid #A80A0F;
    width: 20px;
    height: 20px;
    animation: grb-spin 1s linear infinite;
    margin: 0 auto 15px;
}

/* Reset button styling */
.grb-reset-button {
    background: #f5f5f5;
    color: #555;
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 4px;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.grb-reset-button:hover {
    background: #e0e0e0;
}

@keyframes grb-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grb-chapter-item label {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .grb-file-info {
        margin-left: 33px; /* Align with checkbox */
        margin-top: 5px;
    }
}