@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
body {
    font-family: "Poppins", sans-serif !important;
    background-color: #f8f9fa !important;
}
:root {
    --blue_universidad: #004a98;
    --blue_secundary: #00b1e3;
    --yellow_global: #fecb56;
    --green_success: #6dc000;
    --red_cancel: #d40000;
    --red_error: #cd5a5a;
    --grey_not: #adadadba;
    --grey: #6c6c6cba;
    --table_header: #fff;
    --tr_td_hover: #e1e1e1;
    --blue_grey: #93abc7d6;
    --border_radius: 2rem;

    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 0.75rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Header styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group-text {
    background-color: #f8f9fa;
}

.list-group-item {
    border-left: none;
    border-right: none;
    padding: 1rem;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

.alert {
    border: none;
    border-radius: 0.5rem;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.card {
    border: none;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 0.5rem;
}

.card-header {
    /*border-bottom: none;*/
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.document-card {
    background-color: #fff;
    transition: all 0.2s ease;
}

.document-card:hover {
    background-color: #f8f9fa;
}

.info-card {
    background-color: #fff;
}

.experience-card:last-child,
.publication-card:last-child {
    margin-bottom: 0 !important;
}

.language-card:last-child {
    margin-bottom: 0 !important;
}

.btn-outline-primary {
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-1px);
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}
.form-floating > .form-select {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating > label {
    padding: 1rem 0.75rem;
}

.text-muted {
    font-size: 0.875rem;
}

.border-bottom {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: var(--bs-danger);
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: var(--bs-success);
}

.badge {
    font-weight: 500;
}

.requirement-badge {
    text-align: center;
}
.modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Loading state styles */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.announcement-info {
    max-width: 300px;
}

.criteria-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.criteria-icon i {
    font-size: 1.25rem;
}

.score-badge {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    display: inline-block;
    min-width: 60px;
}

.comments-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comment-item {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
}

.comment-number {
    background-color: var(--bs-primary);
    color: white;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    margin-right: 0.75rem;
    min-width: 40px;
    text-align: center;
}

.comment-text {
    flex: 1;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(var(--bs-primary-rgb), 0.25);
}

.course-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-icon-lg {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
}

.schedule-day {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.75rem;
    text-align: center;
}

.day-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--bs-primary);
}

.time-slot {
    font-size: 0.875rem;
    color: #6c757d;
}

.border-4 {
    border-width: 4px !important;
}

@media (max-width: 768px) {
    .w-50 {
        width: 40% !important;
    }
    .document-card {
        margin-bottom: 1rem;
    }
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .btn-sm {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .d-flex.gap-2 {
        flex-direction: column;
    }
    .requirement-badge {
        text-align: left;
    }
    .criteria-cell {
        font-size: 0.7rem;
    }
    .form-check-inline {
        display: block;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    .d-flex.justify-content-between {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .d-flex.justify-content-between .btn {
        width: 100%;
    }
    .criteria-icon {
        width: 32px;
        height: 32px;
    }

    .comment-item {
        flex-direction: column;
    }

    .comment-number {
        margin-bottom: 0.5rem;
        align-self: flex-start;
    }
    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-group .btn {
        border-radius: 0.25rem !important;
        margin-bottom: 0.5rem;
    }
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dictamen-controls {
    display: flex;
    flex-direction: column;
}

.btn-group {
    display: inline-flex;
    flex-wrap: wrap;
}

.btn-check:checked + .btn-outline-success {
    background-color: var(--bs-success);
    color: white;
}

.btn-check:checked + .btn-outline-danger {
    background-color: var(--bs-danger);
    color: white;
}

.submit-btn {
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#navbar {
    background-color: var(--blue_universidad);
}

.btn-sm {
    padding: 0.25rem 0.75rem;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn-light {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-light:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.form-select-lg {
    padding-right: 2.5rem;
    background-position: right 1rem center;
}

.search-form {
    position: relative;
}

.search-form .bi-search {
    color: #6c757d;
}

.table th {
    font-weight: 600;
    white-space: nowrap;
}

.table > :not(caption) > * > * {
    padding: 1rem 0.75rem;
}

.table > tbody > tr:last-child > td {
    border-bottom: none;
}

.is-saved {
    border: 2px solid #6dc000 !important; /* Cambia el borde a verde */
}

.form-floating > textarea.form-control {
    height: 100px;
}

.form-floating > .form-select {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.criteria-cell {
    padding: 0.5rem;
    height: 100%;
    text-align: left;
    border-radius: 0.25rem;
    background-color: rgba(0, 0, 0, 0.02);
}

.rating-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}*/

.colorUniversidadSecundario {
    background-color: var(--blue_secundary);
    padding: 0.15rem !important;
}

.nomUser {
    color: var(--blue_universidad) !important;
}

.btn-success,
.btn-primary {
    background-color: var(--green_success) !important;
    border-color: var(--green_success) !important;
    border-radius: var(--border_radius) !important;
}

.btn-secondary {
    background-color: var(--red_cancel) !important;
    border-color: var(--red_cancel) !important;
    border-radius: var(--border_radius) !important;
}

.btn-secondary-uni {
    background-color: var(--blue_universidad) !important;
    border-color: var(--blue_universidad) !important;
    color: white !important;
    border-radius: var(--border_radius) !important;
}

.btn-outline-primary-2 {
    background-color: white !important;
    border-color: white !important;
    border-radius: var(--border_radius) !important;
}

.btn-outline-primary-2:hover {
    background-color: var(--blue_universidad) !important;
    border-color: var(--blue_universidad) !important;
    border-radius: var(--border_radius) !important;
    color: white !important;
}

.btn-outline-primary {
    border-color: var(--blue_universidad) !important;
    color: var(--blue_universidad) !important;
    border-radius: var(--border_radius) !important;
    font-size: 13px;
    margin: auto;
}

.btn-outline-primary:hover {
    background-color: var(--blue_universidad) !important;
    color: white !important;
}

.btn-outline-info {
    border-color: var(--blue_secundary) !important;
    color: var(--blue_secundary) !important;
    border-radius: var(--border_radius) !important;
    font-size: 13px;
    margin: auto;
}

.btn-outline-info:hover {
    background-color: var(--blue_secundary) !important;
    color: white !important;
}

.btn-outline-warning {
    border-color: var(--yellow_global) !important;
    color: var(--yellow_global) !important;
    border-radius: var(--border_radius) !important;
    font-size: 13px;
    margin: auto;
}

.btn-outline-warning:hover {
    background-color: var(--yellow_global) !important;
    color: white !important;
}

.btn-outline-success {
    border-color: var(--green_success) !important;
    color: var(--green_success) !important;
    border-radius: var(--border_radius) !important;
    font-size: 13px;
    margin: auto;
}

.btn-outline-success:hover {
    background-color: var(--green_success) !important;
    color: white !important;
}

.btn-outline-danger {
    border-color: var(--red_cancel) !important;
    color: var(--red_cancel) !important;
    border-radius: var(--border_radius) !important;
    font-size: 13px;
}

.btn-outline-danger:hover {
    background-color: var(--red_cancel) !important;
    color: white !important;
}

.fa {
    margin-right: 12px;
}

.text-yellow {
    color: var(--table_header);
}

th {
    background-color: var(--table_header) !important;
    color: black !important;
    text-align: center !important;
}

.table-responsive-sm td {
    padding: 1rem 0.5rem !important;
    text-align: center !important;
}

tr:hover td {
    background-color: var(--tr_td_hover);
}

.firts-celda,
.fc-mon {
    border-radius: 6px 0px 0px 0px;
}

.end-celda,
.fc-sun {
    border-radius: 0px 6px 0px 0px;
}

.modal-header {
    background-color: var(--blue_universidad);
    color: white;
}

.modal-body,
.label-form {
    color: var(--blue_universidad) !important;
}

.modal-body,
.label-black {
    color: black !important;
}

.obligatorio {
    color: var(--red_cancel);
}

div.dataTables_wrapper div.dataTables_filter input {
    width: 300px !important;
}

a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: underline !important;
}

.container-success,
.container-conditioning,
.container-not,
.container-new,
.container_review,
.container_update {
    padding: 0.5rem;
    border-radius: 1.5rem;
}

.container-success {
    background-color: #8fff004a;
    color: var(--green_success);
}

.container-conditioning {
    background-color: var(--grey_not);
}

.container-not {
    background-color: #ff00004a;
    color: var(--red_cancel);
}

.container-new {
    background-color: #0049983d;
    color: var(--blue_universidad);
}

.container_review {
    background-color: #00f7ff3d;
    color: var(--blue_secundary);
}

.container_update {
    background-color: #fffb003d;
    color: var(--yellow_global);
}

h2 {
    color: var(--yellow_global) !important;
}

.nav-link {
    font-weight: 600 !important;
}

.btn-academias {
    float: right;
}

.div-academias {
    margin-top: 60px;
}

.table-academias {
    width: 100%;
}

.day {
    color: black !important;
}

.fc-toolbar h2 {
    text-transform: capitalize;
}

.fc-day-header span {
    text-transform: uppercase;
}

.fc-head td {
    padding: 0rem 0rem !important;
}

.fc-unthemed th {
    padding: 0.5rem !important;
}

.instrucciones {
    color: var(--grey);
}

.form-check-input:checked {
    background-color: var(--blue_universidad) !important;
    border-color: var(--blue_universidad) !important;
}

.icon-entreview,
.icon-new-entreview {
    border-radius: 32px;
    padding: 5px 10px;
    width: 36px !important;
}

.icon-entreview {
    background: var(--yellow_global);
}

.icon-new-entreview {
    background: white;
}

.card-entreview {
    background-color: var(--blue_universidad) !important;
    color: white !important;
}

.card-new-entreview {
    background-color: var(--yellow_global) !important;
}

.card-entreview-not-closed {
    background-color: var(--blue_grey) !important;
    color: white !important;
}

.label-card {
    margin-right: 5px;
}

.simple-linear {
    background: linear-gradient(var(--blue_universidad), white);
    border-radius: 10px;
}

#start-postulacion {
    color: white;
}

.margin-between-div {
    margin-top: 3%;
}

.row-info {
    line-height: 35px;
    margin-bottom: 2px;
}

.text-label {
    background-color: #00b1e3ad;
    color: white;
    border-radius: 10px 0 0 10px;
}

.text-label-der {
    background-color: var(--blue_universidad);
    color: white;
    border-radius: 0 10px 10px 0;
}

.text-label-izq {
    background-color: var(--blue_universidad);
    color: white;
    border-radius: 10px 0 0 10px;
}

.text-user {
    background-color: #00b1e31f;
    color: var(--blue_universidad);
    font-weight: 500;
    border-radius: 0 10px 10px 0;
}

.subTitle-expedient {
    background-color: var(--yellow_global);
    color: white;
    border-radius: 10px;
    padding: 0 25px;
    margin-bottom: 8px;
}

.subTitle-expedient-error {
    background-color: var(--red_error);
    color: white;
    border-radius: 10px;
    padding: 0 25px;
    margin-bottom: 8px;
}

.subTitle {
    line-height: 45px;
    margin: 0px !important;
}

.btn-start {
    margin: 10px 0 !important;
}

.row-radios {
    padding: 0 20px;
}

.check-expedient {
    margin-top: 10px !important;
}

#card-submenu::after {
    content: none !important;
}

.fa-ellipsis-vertical {
    color: white;
}

.btn-back {
    text-decoration: none !important;
    color: var(--red_cancel) !important;
}

.btn-back:hover {
    text-decoration: none !important;
    color: white !important;
}

.a {
    text-decoration: none !important;
}

.text-500 {
    font-weight: 500;
}

.table_hora {
    width: 12% !important;
}

.table_salon {
    width: 13% !important;
}

.table_dias {
    width: 15% !important;
}

.table_text_salon {
    font-size: 14px;
}

.table_text_materia {
    font-weight: 500;
}

.table_h {
    width: 8% !important;
}

.table_s {
    width: 10% !important;
}

.table_d {
    width: 10% !important;
}

.table_m {
    width: 15% !important;
}

.table_p {
    width: 12% !important;
}

.text_size td {
    font-size: 13.5px !important;
}

.contenedor {
    border: 1px solid gray;
    border-radius: 10px;
    padding: 10px;
}

.subTitle-contenedor {
    padding: 0 10px;
    margin-top: -0.75rem;
    margin-left: 15px;
    background-color: white;
    color: gray;
    position: absolute;
    z-index: 1000;
}
