.exercise-card {
    width: 21rem;
}
.title {
    font-size: 4.5rem;
}

@media (max-width: 800px) {
    .w-50 {
        width: 85% !important;
    }
    .w-75 {
        width: 95% !important;
    }
}
.active-fields {
    display: none;
}

@media screen and (max-width: 500px) {
    .custom-responsive-table {
        border: 0;
        font-size: 1rem;
    }

    .custom-responsive-table caption {
        font-size: 1.3em;
    }

    .custom-responsive-table thead {
        display: none;
    }

    .custom-responsive-table tr {
        display: block;
        border: 1px solid #dee2e6;
        border-radius: 1rem;
        margin-bottom: .625em;
    }

    .custom-responsive-table td {
        display: block;
        font-size: .8em;
        text-align: right;
        border: none;
        min-height: 2.75rem;
    }

    .custom-responsive-table td.inactive-field {
        display: none;
    }

    .custom-responsive-table td.active-fields {
        display: block;
        text-align: center;
        cursor: pointer;
        padding: 0.2rem;
    }

    .custom-responsive-table td.active-fields.selected {
        display: none;
    }

    .custom-responsive-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
    }

    .custom-responsive-table td:last-child {
        border-bottom: 0;

    }
}
.container {
    position: relative;
}
.expiration {
    position: absolute;
    top: -2rem;
    right: 0;
    border: solid 1px;
    padding: 0.25rem;
}
.taken-lessons {
    position: absolute;
    top: -2rem;
    left: 0;
    padding: 0.25rem;
}
.rules {
    position: absolute;
    top: -2rem;
    left: 0;
    padding: 0.25rem;
}

.students-block {
    position: relative;
}

.students-block .list {
    width: 100%;
}

.students-block .list .wishlist {
    font-size: 0.75rem;
    color: blue;
}

.students-block .update-button {
    margin: auto;
    width: fit-content;
}

.students-block .max-students {
    position: absolute;
    right: -0.5rem;
    top: -0.75rem;
}

.students-block .coach {
    font-size: 0.8rem;
    text-align: right;
}

.base-td {
    padding: 1px !important;
    position: relative;
    height: 1rem;
}
.base-td-color {
    padding: 0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}
@-moz-document url-prefix() {
    .base-td {
        height: 15rem;
    }
    .base-td-color {
        overflow: auto;
    }
}
.base-td-lesson-div {
    padding: 0.75rem;
    flex: 1;
}

.current_day {
    background-color: #16afb747 !important;
}
.discharge_week {
    background-color: #0f963cc3 !important;
}
.color-0 {
    /* background-color: #228b2220; */
    background-color: #dfe2dd !important;
}
.color-any {
    background-color: #8fbb8f !important;
}
.color-personal {
    background-color: #ffe78f !important;
}
.color-functional {
    background-color: #fbffc9 !important;
}
.color-without-teacher-availability {
    background-color: #fdf3a8 !important;
}
.taken {
    background-color: #80c5757a !important;
}

.blocked {
    background-color: #f3454573 !important;
}

/* .table.table-bordered th { */
    /* background-color: #e9e9e9; */
    /* border: 1px solid white; */
/* } */
.table.table-bordered td {
    background-color: #fff;
    border: 0px solid white;
}

@media screen and (max-width: 700px) {
    h1 {
        font-size: 1.35rem;
        margin: 1rem 0;
    }

    .table-responsive {
        font-size: 0.85rem;
    }
}
.availabilities {
    .color--1 {
        background-color: #228b2220 !important;
    }
    .color-any {
        background-color: #8fbb8f !important;
    }
    .color-personal {
        background-color: #ffe78f !important;
    }
    .color-functional {
        background-color: #fbffc9 !important;
    }

    .quorum {
        display: flex;
        align-items: center;

        .update-buttons {
            margin-left: auto;
        }
    }

    .coach {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 700px) {
    .table-responsive {
        font-size: 0.85rem;
    }
}
/* Estilos para Twilio Templates */

.card-header.bg-primary {
  background: linear-gradient(45deg, #007bff, #0d6efd) !important;
}

.card-header.bg-secondary {
  background: linear-gradient(45deg, #6c757d, #5a6268) !important;
}

.card-header.bg-info {
  background: linear-gradient(45deg, #17a2b8, #138496) !important;
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.1);
  transition: background-color 0.2s ease;
}

.badge {
  font-size: 0.75em;
  padding: 0.35em 0.65em;
}

.btn-group .btn {
  border-radius: 0.375rem;
}

.btn-group .btn:not(:last-child) {
  margin-right: 0.5rem;
}

.form-control:focus, .form-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.font-monospace {
  font-family: 'Courier New', Consolas, 'Liberation Mono', Menlo, Courier, monospace !important;
}

.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card.shadow {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075),
              0 0.25rem 0.5rem rgba(0, 0, 0, 0.15) !important;
}

/* Iconos con mejor espaciado */
.fas, .far, .fab {
  margin-right: 0.25rem;
}

/* Mejora para alertas */
.alert {
  border: none;
  border-radius: 0.5rem;
}

.alert-heading {
  margin-bottom: 0.5rem;
}

/* Estados de validación mejorados */
.is-valid {
  border-color: #28a745;
}

.is-invalid {
  border-color: #dc3545;
}

.valid-feedback, .invalid-feedback {
  font-size: 0.875em;
  margin-top: 0.25rem;
}

/* Tooltips personalizados */
.tooltip .tooltip-inner {
  background-color: #343a40;
  border-radius: 0.375rem;
}

/* Responsive mejoras */
@media (max-width: 768px) {
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .btn-group .btn:last-child {
    margin-bottom: 0;
  }

  .table-responsive {
    border: none;
  }
}

/* Animaciones suaves */
.btn, .card, .alert {
  transition: all 0.2s ease-in-out;
}

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

.card:hover {
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1),
              0 0.5rem 1rem rgba(0, 0, 0, 0.2) !important;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
@font-face {
font-family: 'Adlery-Pro-Blockletter';
    src:  url(/assets/Adlery-Pro-Blockletter.ttf-48515a4c6d90f6c8e956b73fe73cc0646f2539583feecd8357af0dc01f04511d.woff) format('woff'),
    url(/assets/Adlery-Pro-Blockletter.ttf-199421d56e23203c532bf282a907851bc5da6ae0e12f96939c891d3f523d0856.svg#Adlery-Pro-Blockletter) format('svg'),
    url(/assets/Adlery-Pro-Blockletter.ttf-574ab6953e83e4f7fdd7411c6aed1fc7f0057c912b920e17e7e8ec72262ac313.eot),
    url(/Adlery-Pro-Blockletter.eot?#iefix) format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

.toastify.on.success {
    background: linear-gradient(to top, #2f4f37, #28a745);
}

.toastify.on.error {
    background: linear-gradient(to top, #dc3545, #df606c);
}

.toggle-password {
    cursor: pointer;
    margin-left: 0.5rem;
}

.icon-img {
    max-height: 2rem;
}

nav.navbar {
    position: fixed;
    width: 100%;
    z-index: 100;
}

.nav-link.sign-out {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
}

.form-group.required .control-label:after {
    content:"*";
    color:red;
}

.clickable {
    cursor: pointer;
}

.flex-vertical-align {
    display: flex;
    align-items: center;
}
html {
    scroll-behavior: smooth;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 4rem;
    box-sizing: border-box;
}

.navbar-dark .navbar-nav .nav-link {
    color: white; /* Color del texto */
}

.navbar-dark {
    background-color: black; /* Color del fondo */
}

@media screen and (max-width: 700px) {
    .navbar-nav {
        font-size: 1.5rem;
    }
    .dropdown-item {
        font-size: 1.5rem;
    }
}
