body {
    zoom: 0.8;
}

.modal-backdrop {
    transform: scale(1.25);
    /* 1 / zoom */
    transform-origin: top left;
}

.navbar {
    --navbar-height: 60px;
    /* Default value */
    background-color: #070707;
}

.footer {
    --footer-height: 40px;
    /* Default value */
    height: var(--footer-height);
    line-height: var(--footer-height);
    /* text-align: center; */
    background-color: #343a40;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.main {
    padding-top: calc(var(--navbar-height, 70px));
    padding-bottom: calc(var(--footer-height, 50px));
}

.my-container {
    padding-left: 50px;
    padding-right: 50px;
}

.pre {
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #f8f9fa;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.border-dashed {
    border-style: dashed !important;
}

.drop-zone-active {
    background-color: #e3f2fd !important;
    border-color: #2196f3 !important;
}

.file-item {
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: #f8f9fa;
}

.highlight-diff {
    background-color: #fff3cd !important;
    color: #856404 !important;
    border: 1px solid #ffeaa7;
    /* padding: 1px 2px; */
    border-radius: 2px;
}

.highlight-added {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-left: 3px solid #28a745;
    /* padding-left: 5px; */
}

.highlight-removed {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border-left: 3px solid #dc3545;
    /* padding-left: 5px; */
}

.highlight-added-placeholder {
    background-color: #f0f0f0 !important;
    color: #999 !important;
    opacity: 0.5;
}

.highlight-removed-placeholder {
    background-color: #f0f0f0 !important;
    color: #999 !important;
    opacity: 0.5;
}

/* Detailed comparison zone styling */
#detailedComparisonContainer {
    margin-top: 20px;
}

#detailedComparisonContainer .card-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

#detailedComparisonContainer .alert {
    margin-bottom: 20px;
}

#detailedComparisonContainer .pre {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

#searchKeyword {
    border: 2px solid #dee2e6;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

#searchKeyword:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.search-highlight {
    background-color: #ffeb3b !important;
    color: #333 !important;
    font-weight: bold;
    padding: 1px 2px;
    border-radius: 2px;
}
