/* Custom styles to complement Bootstrap dark theme */

.card {
    border: 1px solid var(--bs-border-color);
    margin-bottom: 1rem;
}

/* Drag and drop zone styles */
.drop-zone {
    transition: all 0.3s ease;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.drop-zone:hover {
    background-color: #2c3034 !important;
    border-color: #0d6efd !important;
}

.drop-zone.drag-over {
    background-color: #2c3034 !important;
    border-color: #0d6efd !important;
    transform: scale(1.02);
}

.progress {
    height: 0.5rem;
    margin: 1rem 0;
}

.btn-success {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}

.btn-success:hover {
    background-color: var(--bs-success-hover);
    border-color: var(--bs-success-hover);
}

.form-text {
    color: var(--bs-secondary-color);
}

.list-group-item {
    background-color: var(--bs-dark);
    border-color: var(--bs-border-color);
}

.alert {
    margin-bottom: 1rem;
}

/* Navigation and Preview section styling */
.navigation-section {
    border: 1px solid var(--bs-border-color);
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    background-color: var(--bs-body-bg);
}

#pageInfo {
    text-align: center;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--bs-dark);
    background-color: var(--bs-light);
    padding: 0.5rem;
    border-radius: 0.375rem;
}

.preview-section {
    border: 1px solid var(--bs-border-color);
    padding: 1rem;
    border-radius: 0.375rem;
}

.preview-container {
    max-height: 600px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

#pdfPreview {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.splits-list {
    max-height: 200px;
    overflow-y: auto;
}

/* Navbar logo styling */
.navbar-brand img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

/* File input styling */
.form-control[type="file"] {
    padding: 0.375rem;
}

/* Progress bar animation */
.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}


/* Maelie Lane Footer and Logo styling */
.maelie-lane-footer {
    margin-top: 1in; /* 1 inch below content */
    padding: 20px;
    padding-left: 20px;
}

.maelie-lane-logo {
    width: 140px; /* Slightly bigger logo */
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.maelie-lane-logo:hover {
    opacity: 1;
}

.maelie-lane-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    .preview-container {
        max-height: 400px;
    }
    #delinquencyResults .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #delinquencyResults .card-header > div {
        margin-bottom: 0.5rem;
    }
    
    /* Smaller logo on mobile */
    .maelie-lane-logo {
        width: 110px;
    }
    
    .maelie-lane-footer {
        margin-top: 0.75in; /* Less margin on mobile */
    }
}