:root{
    --bs-primary: #073c49;
    --bs-primary-rgb: 7, 60, 73;

    --bs-link-color: #073c49;
    --bs-link-hover-color: #37797c;

    --tecnova-primary: #073c49;
    --tecnova-secondary: #37797c;
    --tecnova-light: #a2e0e0;
    --tecnova-bg: #f8fbfb;
}

.btn-primary{
    --bs-btn-bg:#073c49 !important;
    --bs-btn-border-color:#073c49 !important;

    --bs-btn-hover-bg:#37797c !important;
    --bs-btn-hover-border-color:#37797c !important;

    --bs-btn-active-bg:#37797c !important;
    --bs-btn-active-border-color:#37797c !important;

    --bs-btn-focus-shadow-rgb:55,121,124 !important;

    background-color:#073c49 !important;
    border-color:#073c49 !important;
}

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: Arial, sans-serif;
}

/* ===== CHROME / EDGE / SAFARI ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f3f5;
}

::-webkit-scrollbar-thumb {
    background: #073c49;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #37797c;
}


/* ===== FIREFOX ===== */
html {
    scrollbar-width: thin;
    scrollbar-color: #073c49 #f1f3f5;
}

.text-label {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #073c49, #37797c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-transform: none;
    font-weight: bold;
}

.icon-container{
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container img{
    max-height: 300px;
    width: auto;
}

.link-recover{
    color: #37797c !important;
    text-decoration: none;
    font-size:1rem;
    font-weight: 500;
    transition: color .2s ease;
}

.link-recover:hover{
    color:#073c49;
}
.button-intranet {
    display: inline-block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #073c49 0%, #37797c 100%);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#loginButton {
    font-size: 20px;
    font-weight: 700;
}

.button-intranet:hover {
    background: linear-gradient(135deg, #37797c 0%, #073c49 100%);
}

.button-hover-intranet {
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.button-hover-intranet:hover {
    background-color: #f0f0f0;

    & img {
        transform: scale(1.1);
        transition: transform 0.3s ease-in-out;
    }

    & img:hover {
        transform: scale(1.1);
    }
}

.template-grid-dashboard-admin {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.template-grid-generate-certified-course {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.dt-buttons {
    display: flex !important;       /* fuerza fila horizontal */
    gap: 0.5rem;                    /* espacio entre botones */
    flex-wrap: wrap;                 /* si hay muchos, se van a la siguiente línea */
}

.dropzone {
    border: 2px dashed #d1d5db;
    background: #f9fafb;
    transition: all .25s ease;
    cursor: pointer;
}

.dropzone:hover {
    border-color: #37797c;
    background: #e8f8f8;
}

.dropzone.dragover {
    border-color: #073c49;
    background: #d9f3f3;
}

.file-item {
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 12px;
    margin-bottom: 6px;
    font-size: 14px;
}

.card{
    border:1px solid #e8eeee;
}

.card-header{
    background:#f8fbfb;
}

.table-hover tbody tr:hover{
    background:#f4f9f9;
}

.form-control:focus,
.form-select:focus{
    border-color:#37797c;
    box-shadow:0 0 0 .25rem rgba(55,121,124,.15);
}

.page-link{
    color:#073c49;
}

.page-link:hover{
    color:#37797c;
}

.page-item.active .page-link{
    background:#073c49;
    border-color:#073c49;
}

/* Media Queries */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    .template-grid-dashboard-admin {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
    .template-grid-generate-certified-course {
        grid-template-columns: 1fr;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .button-hover-intranet {
        aspect-ratio: 1/1;
    }

    .template-grid-dashboard-admin {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }

    .template-grid-generate-certified-course {
        grid-template-columns: 1fr;
    }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
    .template-grid-generate-certified-course {
        grid-template-columns: 1fr;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1200px) {}

/* Extra extra large devices (extra large desktops, 1400px and up) */
@media (max-width: 1400px) {}