/* Additional styling beyond Bootstrap */

/* PDF page display */
.pdf-page-container {
    max-width: 100%;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    background-color: var(--bs-dark);
    border-radius: 0.25rem;
    padding: 1rem;
}

#pdf-page {
    max-width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Split points list styling */
#split-points-list {
    margin-top: 1rem;
}

#split-points-list .list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#split-points-list .delete-split {
    cursor: pointer;
}

/* Improve form elements */
.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Make sure buttons have proper spacing */
.btn {
    margin-bottom: 0.5rem;
}

/* Footer styling */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
}

/* Make sure the body has padding for the fixed footer and a white background */
body {
    padding-bottom: 80px;
    position: relative;
    min-height: 100vh;
    background-color: #fff;
    color: #333;
}

/* Add some responsive spacing */
@media (max-width: 768px) {
    .btn-group, .btn-group-vertical {
        width: 100%;
    }
    
    .d-flex {
        flex-wrap: wrap;
    }
    
    .d-flex .btn {
        margin-bottom: 0.5rem;
        margin-right: 0.5rem;
    }
}
