/* Custom styles for Word2Vec Web App */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Card shadows */
.card {
    border: none;
}

.card-header {
    font-weight: 500;
}

/* Table styling */
.table-responsive {
    scrollbar-width: thin;
}

.table-responsive::-webkit-scrollbar {
    width: 6px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: #dee2e6;
    border-radius: 3px;
}

/* Badge styling */
.badge {
    font-weight: 500;
}

/* Form styling */
.form-control:focus,
.form-range:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Navbar */
.navbar-brand {
    font-weight: 600;
}

/* Alert messages mapping */
.alert-success {
    background-color: #d1e7dd;
    border-color: #badbcc;
    color: #0f5132;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffecb5;
    color: #664d03;
}

.alert-error,
.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c2c7;
    color: #842029;
}

.alert-info {
    background-color: #cff4fc;
    border-color: #b6effb;
    color: #055160;
}

/* Visualization image */
.card-body img {
    border: 1px solid #dee2e6;
}

/* Sticky table header */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
}
