html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Baja California Admin Layout Styles */
.bc-admin-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
}

/* Header Styles */
.bc-header {
    background-color: #721C24;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.bc-header-content {
    width: 100%;
}

.bc-header-top-bar {
    background-color: #5a1519;
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.bc-header-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex: 1;
}

.bc-header-link {
    color: white;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.bc-header-link:hover {
    opacity: 1;
    color: white;
}

.bc-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.bc-icon-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    transition: opacity 0.2s;
}

.bc-icon-btn:hover {
    opacity: 0.8;
}

.bc-user-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
}

.bc-user-icon {
    font-size: 1rem;
}

.bc-user-name {
    font-size: 0.75rem;
}

.bc-header-main {
    padding: 1rem 1.5rem;
    text-align: center;
}

.bc-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bc-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0;
    color: #D4AF37;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Main Container */
.bc-main-container {
    display: flex;
    flex: 1;
    background-color: white;
}

/* Sidebar Styles */
.bc-sidebar {
    width: 250px;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
    height: calc(100vh - 150px);
}

.bc-sidebar-nav {
    padding: 0;
}

.bc-nav-item {
    border-bottom: 1px solid #e9ecef;
}

.bc-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: #495057;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: transparent;
    font-size: 0.875rem;
}

.bc-nav-link:hover {
    background-color: #e9ecef;
    color: #721C24;
    text-decoration: none;
}

.bc-nav-link:active,
.bc-nav-link.active {
    background-color: #721C24;
    color: white;
}

.bc-nav-icon {
    font-size: 1rem;
    min-width: 1.25rem;
    text-align: center;
}

.bc-nav-expandable .bc-nav-link {
    position: relative;
}

.bc-nav-submenu {
    background-color: #ffffff;
    border-left: 3px solid #721C24;
}

.bc-nav-sublink {
    display: block;
    padding: 0.625rem 1.25rem 0.625rem 3rem;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.8125rem;
    transition: all 0.2s ease;
}

.bc-nav-sublink:hover {
    background-color: #f8f9fa;
    color: #721C24;
    text-decoration: none;
}

.bc-nav-sublink:active,
.bc-nav-sublink.active {
    background-color: #fef3f3;
    color: #721C24;
    font-weight: 500;
}

/* Content Area */
.bc-content {
    flex: 1;
    background-color: white;
    overflow-y: auto;
}

.bc-main {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bc-sidebar {
        position: fixed;
        left: -250px;
        transition: left 0.3s ease;
        z-index: 999;
        height: 100vh;
    }

    .bc-sidebar.open {
        left: 0;
    }

    .bc-header-links {
        display: none;
    }

    .bc-title {
        font-size: 1.25rem;
    }
}

/* Utility Classes */
.bc-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.bc-btn-primary {
    background-color: #721C24;
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bc-btn-primary:hover {
    background-color: #5a1519;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bc-btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bc-btn-secondary:hover {
    background-color: #5a6268;
}
/* ============================================ */
/* Baja California Public Portal Styles */
/* ============================================ */

/* Public Layout */
.bc-public-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
}

/* Public Header */
.bc-public-header {
    background-color: #333333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bc-public-header-top {
    background-color: #333333;
    padding: 1rem 0;
}

.bc-public-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bc-public-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bc-public-logo-section {
    flex: 0 0 auto;
}

.bc-public-logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.bc-public-logo {
    height: 60px;
    width: auto;
}

.bc-public-logo-text {
    display: flex;
    flex-direction: column;
    color: white;
}

.bc-public-logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.bc-public-logo-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.bc-public-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.bc-public-nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.bc-public-nav-link:hover {
    opacity: 0.8;
    color: white;
}

.bc-public-nav-link-login {
    background-color: #721C24;
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
}

/* Public Main Content */
.bc-public-main {
    flex: 1;
    background-color: white;
    padding: 2rem 0;
}

/* Breadcrumb */
.bc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.bc-breadcrumb-icon {
    font-size: 1rem;
}

.bc-breadcrumb-link {
    color: #721C24;
    text-decoration: none;
}

.bc-breadcrumb-link:hover {
    text-decoration: underline;
}

.bc-breadcrumb-separator {
    color: #999;
}

.bc-breadcrumb-text {
    color: #333;
}

/* Services Grid */
.bc-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.bc-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    text-decoration: none;
    transition: all 0.3s ease;
    justify-content: center;
}

.bc-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.bc-service-green { background-color: #4CAF50; }
.bc-service-blue { background-color: #2196F3; }
.bc-service-red { background-color: #E57373; }
.bc-service-orange { background-color: #FF9800; }
.bc-service-red-dark { background-color: #D32F2F; }
.bc-service-navy { background-color: #3F51B5; }
.bc-service-purple { background-color: #9C27B0; }
.bc-service-teal { background-color: #009688; }

.bc-service-icon {
    margin-bottom: 1rem;
}

.bc-service-title {
    color: white;
    font-size: 0.95rem;
    text-align: center;
    margin: 0;
    font-weight: 500;
}

/* Providers Section */
.bc-providers-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.bc-providers-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.5rem;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.bc-providers-content {
    text-align: center;
}

.bc-providers-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.bc-providers-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.bc-btn-providers {
    background-color: #4CAF50;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: background-color 0.2s;
}

.bc-btn-providers:hover {
    background-color: #45a049;
    color: white;
}

.bc-more-services {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 0.5rem;
}

.bc-more-services h3 {
    color: #333;
    margin-bottom: 1rem;
}

.bc-services-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.bc-services-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.bc-services-list a {
    color: #721C24;
    text-decoration: none;
}

.bc-services-list a:hover {
    text-decoration: underline;
}

.bc-btn-padron {
    background-color: #B8860B;
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
}

.bc-btn-padron:hover {
    background-color: #9a7208;
    color: white;
}

/* ── Pagination bar (shared across all list pages) ─────────────── */
.bc-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    margin-top: 0.5rem;
}

.bc-page-size-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
    font-size: 0.875rem;
}

.bc-page-size-selector select {
    padding: 0.3rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 0.875rem;
    background: white;
}

.bc-page-info {
    color: #555;
    font-size: 0.875rem;
}

.bc-page-nav {
    display: flex;
    gap: 0.25rem;
}

.bc-page-btn {
    padding: 0.35rem 0.65rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: white;
    color: #8b1a1a;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.15s, color 0.15s;
}

.bc-page-btn:hover:not(:disabled) {
    background-color: #f5e9e9;
}

.bc-page-btn:disabled {
    color: #bbb;
    cursor: default;
    border-color: #e8e8e8;
}

.bc-page-btn-active {
    background-color: #8b1a1a;
    color: white;
    border-color: #8b1a1a;
}

.bc-page-btn-active:hover {
    background-color: #6d1313 !important;
}

@media (max-width: 768px) {
    .bc-pagination-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Licitaciones Page */
.bc-licitaciones-page {
    background-color: white;
}

.bc-page-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #721C24;
}

/* Filters Section */
.bc-filters-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.375rem;
    margin-bottom: 2rem;
}

.bc-filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.bc-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bc-filter-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #333;
}

.bc-filter-select {
    padding: 0.625rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    background-color: white;
    cursor: pointer;
}

.bc-filter-select:focus {
    outline: none;
    border-color: #721C24;
    box-shadow: 0 0 0 0.2rem rgba(114, 28, 36, 0.15);
}

/* Table Actions */
.bc-table-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.bc-search-input {
    padding: 0.625rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    width: 300px;
    font-size: 0.875rem;
}

.bc-search-input:focus {
    outline: none;
    border-color: #721C24;
    box-shadow: 0 0 0 0.2rem rgba(114, 28, 36, 0.15);
}

.bc-table-buttons {
    display: flex;
    gap: 0.5rem;
}

.bc-btn-action {
    padding: 0.625rem 1.25rem;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s;
}

.bc-btn-action:hover {
    background-color: #5a6268;
}

/* Data Table */
.bc-table-container {
    overflow-x: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: white;
}

.bc-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.bc-data-table thead {
    background-color: #f8f9fa;
}

.bc-data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.bc-data-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s;
}

.bc-data-table tbody tr:hover {
    background-color: #f8f9fa;
}

.bc-data-table td {
    padding: 0.875rem 1rem;
    color: #495057;
}

.bc-table-icon {
    width: 40px;
    text-align: center;
}

.bc-folder-icon {
    font-size: 1.25rem;
    color: #DAA520;
}

.bc-table-numero {
    min-width: 200px;
}

.bc-table-link {
    color: #721C24;
    text-decoration: none;
}

.bc-table-link:hover {
    text-decoration: underline;
}

.bc-table-descripcion {
    max-width: 400px;
}

/* Public Footer */
.bc-public-footer {
    background-color: #333333;
    color: white;
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
}

.bc-public-footer p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .bc-public-logo {
        height: 40px;
    }

    .bc-public-logo-title {
        font-size: 1rem;
    }

    .bc-public-logo-subtitle {
        font-size: 0.65rem;
    }

    .bc-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .bc-service-card {
        width: 150px;
        height: 150px;
        padding: 1.5rem;
    }

    .bc-service-title {
        font-size: 0.85rem;
    }

    .bc-providers-section {
        grid-template-columns: 1fr;
    }

    .bc-filters-row {
        grid-template-columns: 1fr;
    }

    .bc-table-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .bc-search-input {
        width: 100%;
    }

    .bc-table-container {
        overflow-x: scroll;
    }
}

/* Licitación Detalle Page */
.bc-detalle-page {
    background-color: white;
    padding-bottom: 3rem;
}

.bc-detalle-title {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #721C24;
}

.bc-detalle-content {
    background-color: white;
}

.bc-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.bc-info-section {
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.bc-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bc-info-full {
    grid-column: 1 / -1;
}

.bc-info-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #495057;
}

.bc-info-value {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.bc-partidas-section,
.bc-archivos-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.bc-archivo-link {
    color: #721C24;
    text-decoration: none;
    font-weight: 500;
}

.bc-archivo-link:hover {
    text-decoration: underline;
}

.bc-contacto-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #721C24;
}

.bc-section-title {
    font-size: 1.5rem;
    color: #721C24;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.bc-email-link {
    color: #721C24;
    text-decoration: none;
}

.bc-email-link:hover {
    text-decoration: underline;
}

.bc-detalle-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.bc-btn-back {
    padding: 0.75rem 1.5rem;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.bc-btn-back:hover {
    background-color: #5a6268;
    color: white;
}

.bc-loading {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

/* Responsive para detalle */
@media (max-width: 768px) {
    .bc-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bc-detalle-actions {
        flex-direction: column;
    }

    .bc-detalle-title {
        font-size: 1.25rem;
    }
}
