html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card:hover {
        transform: translateY(-5px); /* or scale(1.02) */
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    }

.form-container {
    display: flex;
    flex-direction: column;
    height: 100%; /* or a fixed height if you prefer */
}

.form-row {
    display: flex;
    gap: 20px;
    flex: 1; /* makes this row take all available space */
    flex-wrap: wrap; /* wraps on small screens */
}

.form-canvas {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    background-color: white; /* solid fallback */
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    border-radius: 15px;
    padding: 20px;
    max-width: 700px; /* optional: constrain width */
    margin: 0 auto; /* center horizontally */
    position: relative;
    overflow: visible; /* ensure dropdowns are not hidden */
}

.form-canvas-participantes {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    border-radius: 15px;
    padding: 20px;
    max-width: 800px; /* wide enough for two col-md-6 */
    margin: 20px auto; /* some top/bottom spacing too */
    position: relative;
    overflow: visible;
}


.table-canvas {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    border-radius: 15px;
    padding: 20px;
}

    /* Scrollbar for Chrome, Edge, Safari */
    .table-canvas div[style*="overflow-y: auto"]::-webkit-scrollbar {
        width: 10px; /* scrollbar width */
    }

    .table-canvas div[style*="overflow-y: auto"]::-webkit-scrollbar-track {
        background: #e9ecef; /* track color (light gray) */
        border-radius: 5px;
    }

    .table-canvas div[style*="overflow-y: auto"]::-webkit-scrollbar-thumb {
        background-color: #6c757d; /* thumb color (Bootstrap gray) */
        border-radius: 5px;
        border: 2px solid #e9ecef; /* spacing around thumb */
    }

        .table-canvas div[style*="overflow-y: auto"]::-webkit-scrollbar-thumb:hover {
            background-color: #495057; /* darker on hover */
        }

    /* Scrollbar for Firefox */
    .table-canvas div[style*="overflow-y: auto"] {
        scrollbar-width: thin; /* makes it thinner */
        scrollbar-color: #6c757d #e9ecef; /* thumb color | track color */
    }

.table-canvas-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    /*border-bottom: 2px solid #dee2e6;*/
}

    .table-canvas-tabs a {
        padding: 12px 24px;
        text-decoration: none;
        color: #6c757d;
        font-weight: 500;
        border-radius: 8px 8px 0 0;
        transition: all 0.3s ease;
        background: transparent;
    }

        .table-canvas-tabs a:hover {
            color: #495057;
            background: rgba(108, 117, 125, 0.1);
        }

        .table-canvas-tabs a.active {
            color: #212529;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
            /*border-bottom: 3px solid #007bff;*/
        }


.bg-primary {
    background-color: #94CAEC !important;
}

.bg-login-image {
    background: url("~/img/BDT_logo.png"); 
    background-position: center;
    background-size: cover;
}

.sidebar .nav-item .nav-link {
    color: #184289; 
}

.sidebar-brand-icon img {
    height: auto;
    max-width: 90px;
    display: block;
    margin: 0 auto;

}

.btn-pimary {
    color: #94CAEC !important;
}

.custom-btn {
    background-color: #94CAEC;
    color: white;
    border: none;
}

    .custom-btn:hover {
        background-color: #2C4484;
    }


.search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

    .search-row input {
        flex: 1;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 6px;
    }

.selected-container {
    margin-top: 10px;
}

.ui-autocomplete {
    position: absolute !important;
    z-index: 9999 !important; /* make it appear above other elements */
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
}


/* Columns inside each canvas */
.search-row {
    display: flex;
    gap: 10px;
    flex: 1; /* stretch to fill canvas height */
}

.search-column {
    flex: 1;
}

/* Align button bottom-right */
.form-actions {
    align-self: flex-end;
}

.topbar-blue .nav-link {
    color: #ffffff !important; /* white links */
}

    .topbar-blue .nav-link:hover {
        color: #f8f9fa !important; /* slightly lighter on hover */
    }

.services-accordion [data-toggle="collapse"] i.fa-chevron-down {
    transition: transform 0.2s ease;
}

.services-accordion [data-toggle="collapse"]:not(.collapsed) i.fa-chevron-down {
    transform: rotate(180deg);
}

.services-accordion [data-toggle="collapse"] {
    text-decoration: none;
    color: #333;
    padding: 0.75rem 1rem;
}

    .services-accordion [data-toggle="collapse"]:hover {
        background-color: #f8f9fa;
        text-decoration: none;
        color: #333;
    }

    .services-accordion [data-toggle="collapse"]:focus {
        box-shadow: none;
    }

.nav-tabs .nav-link {
    color: #555;
}

    .nav-tabs .nav-link.active {
        color: #555;
        font-weight: bold;
    }

.page-title-box {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #495057;
    background: #f8f9fa;
}

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 1.1rem;
    font-weight: 500;
    color: #495057;
}


html, body {
    height: 100%;
}

#wrapper {
    min-height: 100vh;
}

#accordionSidebar {
    min-height: 100%;
}

.member-link {
    text-decoration: none;
    color: #36b9cc;
}

    .member-link:hover {
        text-decoration: none;
        color: #36b9cc; /* optional: change color on hover */
    }