/* Bootstrap 5 tweak: do not underline links unless hovered over */
a:not([class*="btn"]) {
    text-decoration: none;
}

a:not([class*="btn"]):hover {
    text-decoration: underline;
}

.new-text-blu {
    color: #003366;
}

.newnavbar-blue {
    background-color: #003366;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.navbar-nopadding {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 12px;

}

.new-navbar-item {
    margin-right: 4px;
    margin-left: 20px;
}

/*COLLAPSE*/

.collapse-button {
    margin-top: 0px;
    background: #336699;
    color: white;
    padding-right: 29px;
    padding-left: 29px;
    padding-top: 4px;
    padding-bottom: 2px;
    font-weight: 400;
    font-size: 0.90rem;

}


.collapse-button[aria-expanded=true] {
    background: #6699cc;
}

.collapse-button:hover {
    color: white;
    text-decoration: none;
}


.collapse-card {
    background: #6699cc;

}

.collapse-p {
    color: white;
    padding-left: 12px;
    padding-right: 12px;

    font-weight: 300;
    margin-bottom: 0px;

}


body {
    background-color: #336699 !important;
    background-position: 75% 75%;
    background-size: 300px 300px;
    background-repeat: no-repeat;
    margin-bottom: 50px;
    font-family: 'Jost', sans-serif !important;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: right;
    font-size: 0.70rem;
}

.footer-a {
    color: #003366;
}

.new-titolo-centrale {
    text-align: center;
    margin-top: 40px;
}

.login-card-div {
    padding-top: 80px;
}

.exercise-card-div {
    padding-top: 32px;
}

.main-card-div {
    margin-top: 40px;
}

.bottom-div-card {
    margin-bottom: 44px;
}

.exercise-text {
    font-weight: 400;
    margin-bottom: 18px;
    font-size: 1.3rem;
}

.login-text-footer {
    color: #336699;
    text-align: center;
    margin-bottom: 0px;
}

.footer-card-login {
    margin-top: 30px;
}

.new-faq-p {
    color: #003366;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.new-faq-p-notop {
    color: #003366;
    margin-top: 0rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.pointer {
    cursor: pointer;
}

.new-card {
    border-radius: 25px !important;
    border: 0px solid #505050 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2) !important;

}

.new-form-login {
    border-radius: 0 !important;
    border: 1px solid #336699 !important;
    height: 40px !important;
    margin-bottom: 24px;

}

.new-btn-label-login {
    margin-left: 16px;
    margin-right: 16px;
}

.login-label {
    margin-bottom: 0 !important;
    color: #336699 !important;

}

.new-login-card-body {
    padding: 1rem !important;
}

.new-button-center {
    margin-top: 40px;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    border-radius: 12px !important;
    border: 0;
    background-color: #003366 !important;
    color: white;
    font-size: 1.8rem !important;
    width: 75%;
    max-width: 200px;
}

.login-text {
    font-weight: bold;
    font-style: italic;
    color: #336699;
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.1rem;

}

.spacing-div-login {
    margin-left: 16px;
    margin-right: 16px;
}

.div-bottom-border {
    border-bottom: 1px solid #336699;

}

@keyframes pulse {
    0% {
        background: rgba(220, 53, 69, 0);
    }

    75% {
        background: rgba(220, 53, 69, 1);
    }

    100% {
        background: rgba(220, 53, 69, 0);
    }
}

.pulserv1 {
    animation: pulsev1 1s infinite;
}

@keyframes pulsev1 {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}


/*RISCRITTURA*/

.paper {
    width: 100%;
    overflow: hidden;
    background-color: #FFF;
    color: #222;
    font-weight: normal;
    font-size: 1.35rem;
    resize: none;
    line-height: 40px;
    padding-top: 5px;
    padding-left: 15px;
    padding-right: 15px;
    background-image: url("/static/line-b.png");
    background-repeat: repeat-y, repeat;
    overflow: hidden;
    word-wrap: break-word;
    resize: none;
    height: 120px;
    border: 0px;
    max-width: 500px;
}


.paper:focus {
    outline: none;

}

.new-button {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border-radius: 25px;
    border: 0;
    background-color: #336699;
    color: white;
    font-size: 1rem;
    width: 75%;
    max-width: 150px;
    font-weight: 500;
    padding: 4px;
}

.btn-riscrittura {
    margin-top: 40px;
}

/* RIORDINAMENTO */

.newInputCenter {
    border: 0;
    outline: 0;
    background: transparent;
    font-weight: normal;
    font-size: 1.35rem;
    border-radius: 1px;
    margin-top: 14px;
    text-align: center;
    border-bottom: 2px solid #336699;
    width: 80%;
}

.btn-riordinamento {
    margin-top: 8px;
}

.lable-text-riordinamento {
    margin: auto;
    padding: 8px;
}

.riordinamento-label {
    background: #003366;
    border-radius: 25px;
    color: white;
    min-height: 32px;
    margin: 4px;
    min-width: 150px;
}


/* COMPLETAMENTO */

.avoid-clicks {
    pointer-events: none;
}

.nav-completamento {
    background-color: #336699;
    border-radius: 25px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.nav-a-completamento {
    margin: 4px;
    height: 25px;
    width: 25px;
    text-align: center;
    background-color: #fff;
    border-radius: 50px;
}

.number-bianco-background {
    height: 24px;
    width: 24px;
    border-radius: 50px;
    margin: auto;
}

.completamento-form {
    padding: 8px 8px;
    height: 1.5em;
    outline: 0;
    background: transparent;
    border-right: 0;
    border-top: 0;
    border-left: 0;
    font-weight: 300;
    border-radius: 1px;
    margin-top: 14px;
    font-size: 1.3rem;
    display: inline-block
}

.completamento-text {
    margin: 30px 0px 0px;
    margin-left: 8px;
    margin-right: 8px;
    font-weight: 400;
    font-size: 1.3rem;
    display: inline-block;
}

.form-control:disabled {
    background: rgba(0, 0, 0, 0);
    color: #888888;
    cursor: not-allowed;
}

.btn-completamento {
    margin-top: 40px;
}

.nav-pills {
    color: #336699;
    border: 2px solid #336699;

}

.nav-link.avoid-clicks.text-center .number-bianco-background {
    background-color: #fff;
    color: #336699;
    border: 1px solid #fff;

}

.nav-link.avoid-clicks.text-center.active .number-bianco-background {
    background-color: #336699;
    color: #fff;
    border: 1px solid #fff;

}

.bottom-end {
    border-bottom: 2px solid #CC0000 !important;
}

.bottom-error {
    border-bottom: 2px solid #FF9900 !important;
}

.bottom-danger {
    border-bottom: 2px solid #FFCC00 !important;
}

/* Abbinamento */

.new-abb-engword {
    color: #336699;
    border: 1px solid #003366;
    border-radius: 5px;

}

.new-abb-text-center {
    margin: 24px;
    font-weight: 400;
    text-align: center;
}

.btn-abbinamento {
    margin-top: 30px;
}

/* Abbinamento */

.new-lvl-button {
    background-color: white;
    color: #003366;
    font-weight: 600;
    height: 45px;
    width: 45px;
    border-radius: 25px;
    border: 5px solid #336699;
    font-size: 1.25rem;
    margin-left: 10px;
    margin-right: 10px;
    padding: 0;

}

.new-lvl-button-selected {
    border: 5px solid #d34a4a;
}

.home-titolo {
    color: white;
    border-bottom: 2px solid #336699;
    margin-top: -10px;

}

.home-card-header {
    background-color: #003366;
    border-top-left-radius: 25px !important;
    border-top-right-radius: 25px !important;
}

.new-text-center {
    text-align: center;
}

/* Abbinamento */

.new-progress {
    font-size: 1rem;
    border-radius: 25px;
    height: 30px;
    background-color: #ffffff;
    border: 2px solid #003366;
}

.new-progress-bar {
    background-color: #d34a4a;
    border-radius: 25px;
}

.intro-box {
    background-color: #003366;
    border-radius: 25px;
    height: 100px;
}

.advice-box {
    background-color: #ffffff;
    border-radius: 25px;
    height: 100px;
    border: 1px solid #003366;
}

.advice-p {
    margin: 8px;
    font-size: 0.85rem;
    color: #003366;
}

.video-text {
    /*    margin: 0;
        position: absolute;
        top: 90%;*/
    color: #FFFFFF;
    margin-top: unset;
}

.img-unit-page {
    width: 75%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Unit Page */

.new-ex-card {
    border: 2px solid rgba(51, 102, 153, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    min-width: 275px;
    max-width: 556px;
    height: 125px;

}

.new-header-card {
    /*box-shadow: 0 4px 5px -2px rgb(0, 0, 0.26);*/
    border-top-right-radius: 22px !important;
    border-top-left-radius: 22px !important;
    height: 35px;
}

.new-icon-card {
    margin-top: -18px;
    margin-left: 34px;
    width: 17px;
}

.header-no {
    background-color: rgba(234, 238, 244, 0.4);
}

.header-start {
    background-color: rgba(211, 74, 74, 0.4)
}

.header-end {
    background-color: rgba(51, 102, 153, 1)
}

.video-intro {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 25px;
}

.unit-background-image {
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    max-width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.ubi-blu {
    background-image: url('/static/img/unit-blu.png');
}

.ubi-red {
    background-image: url('/static/img/unit-red.png');
}

.unit-text {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 1.7rem;
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
}

.new-button-homepage {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border-radius: 18px;
    border: 0;
    color: white;
    font-size: 1.5rem;
    width: 100%;
    max-width: 200px;
    min-width: 150px;
    font-weight: 500;
    padding: 4px;
    height: 50px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.btn-blu {
    background-color: #003366;
}

.btn-red {
    background-color: #d34a4a;
}

/* Premium Modal Styles */
.premium-modal .modal-dialog {
    max-width: 550px;
}

.premium-modal-content {
    border-radius: 30px;
    border: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(238, 248, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 20px 60px rgba(0, 51, 102, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 2px 4px rgba(255, 255, 255, 0.8) inset;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.premium-modal.fade .modal-dialog {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-modal-body {
    padding: 3rem 2.5rem;
    position: relative;
}

.premium-modal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #003366, transparent);
    border-radius: 0 0 10px 10px;
    opacity: 0.3;
}

.premium-modal-icon-container {
    text-align: center;
    margin-bottom: 1.5rem;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.premium-modal-icon {
    filter: drop-shadow(0 8px 16px rgba(0, 51, 102, 0.2));
    transition: transform 0.3s ease;
}

.premium-modal-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.premium-modal-title {
    color: #003366;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    text-align: center;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #003366 0%, #336699 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-modal-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    text-align: center;
}

.premium-modal-description small {
    color: #888;
    font-size: 0.85rem;
}

.premium-modal-link {
    color: #003366;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.premium-modal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #003366, #336699);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.premium-modal-link:hover {
    color: #336699;
    text-decoration: none;
}

.premium-modal-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.premium-modal-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(51, 102, 153, 0.2);
    border-radius: 16px;
    font-size: 0.95rem;
    font-family: 'Jost', sans-serif;
    resize: vertical;
    min-height: 120px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) inset;
}

.premium-modal-textarea:focus {
    outline: none;
    border-color: #003366;
    background: rgba(255, 255, 255, 1);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.05) inset,
        0 0 0 4px rgba(0, 51, 102, 0.1);
    transform: translateY(-2px);
}

.premium-modal-textarea::placeholder {
    color: #aaa;
    font-style: italic;
}

.premium-modal-hint {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-style: italic;
}

.premium-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.premium-btn {
    padding: 0.875rem 2rem;
    border-radius: 14px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Jost', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.premium-btn span {
    position: relative;
    z-index: 2;
}

.premium-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.premium-btn:hover::before {
    width: 300px;
    height: 300px;
}

.premium-btn-primary {
    background: linear-gradient(135deg, #003366 0%, #336699 100%);
    color: white;
    box-shadow:
        0 8px 20px rgba(0, 51, 102, 0.3),
        0 2px 4px rgba(0, 51, 102, 0.2) inset;
}

.premium-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 28px rgba(0, 51, 102, 0.4),
        0 2px 4px rgba(0, 51, 102, 0.2) inset;
}

.premium-btn-primary:active {
    transform: translateY(-1px);
    box-shadow:
        0 6px 16px rgba(0, 51, 102, 0.3),
        0 2px 4px rgba(0, 51, 102, 0.2) inset;
}

.premium-btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    color: #003366;
    border: 2px solid rgba(51, 102, 153, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.premium-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(51, 102, 153, 0.5);
}

.premium-btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Backdrop enhancement */
.premium-modal.show {
    backdrop-filter: blur(8px);
}

.premium-modal .modal-backdrop {
    background: rgba(0, 51, 102, 0.7);
}

/* Mobile responsive */
@media (max-width: 576px) {
    .premium-modal-content {
        margin: 1rem;
        border-radius: 24px;
    }

    .premium-modal-body {
        padding: 2rem 1.5rem;
    }

    .premium-modal-buttons {
        flex-direction: column;
    }

    .premium-btn {
        width: 100%;
    }
}


/* Premium FAQ Styles */
.premium-faq-header {
    margin: 3rem 0;
    text-align: center;
}

.premium-faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.premium-faq-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.premium-faq-container {
    padding-bottom: 4rem;
}

.premium-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.premium-accordion-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.15);
}

.premium-accordion-header {
    margin: 0;
}

.premium-accordion-button {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #003366;
    font-weight: 600;
    font-size: 1.05rem;
    outline: none !important;
}

.premium-accordion-button:not(.collapsed) {
    background-color: rgba(0, 51, 102, 0.05);
    color: #003366;
}

.premium-accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #003366 0%, #336699 100%);
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
    transition: transform 0.3s ease;
}

.premium-accordion-button:hover .premium-accordion-icon {
    transform: scale(1.1) rotate(5deg);
}

.premium-accordion-text {
    flex-grow: 1;
    margin-right: 1rem;
    line-height: 1.4;
}

.premium-accordion-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: #336699;
}

.premium-accordion-button:not(.collapsed) .premium-accordion-arrow {
    transform: rotate(180deg);
}

.premium-accordion-body {
    padding: 0 1.5rem 1.5rem 5rem;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.premium-faq-list {
    margin-top: 0.5rem;
    padding-left: 1.2rem;
}

.premium-faq-list li {
    margin-bottom: 0.5rem;
}

/* Mobile Responsive adjustment */
@media (max-width: 768px) {
    .premium-accordion-body {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }

    .premium-accordion-button {
        padding: 1rem;
    }

    .premium-accordion-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        margin-right: 0.75rem;
    }

    .premium-faq-title {
        font-size: 2rem;
    }
}

/* Legacy support - keep old class for backward compatibility */
.new-modal {
    border-radius: 25px;
    background-color: #eef8ff;
}

.barcompletata {
    background-color: #003366;
}

.container-fluid {
    position: relative;
    z-index: 1;
}

.wrWhite {
    color: white;
    text-decoration: underline !important;
}

/*Css per calendario*/

.calendar-row {
    max-width: 100px;
}

.calendar-cell {
    max-height: 40px;
    min-height: 18px;
    font-size: 0.75rem;
    padding: 1px;
    border-radius: 5px;
    border: 1px solid blue;

}

.calendar-cell-student {
    cursor: pointer;
    min-height: 60px;
    min-width: 100px;
    font-size: 0.9rem;
    border-radius: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 500;
    line-height: 1.2;
    margin: 4px;
    padding: 6px 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
}

/* Hover & active states for better interactivity */
.calendar-cell-student:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.calendar-cell-student:active {
    transform: translateY(0);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}


.row-calendar {
    max-width: 100%;
    margin-left: -2px;
}

.td-calendar {
    padding: 1px !important;
}

.btn-void-calendar {
    border: 1px solid blue;
    background: lightblue;
}

.progress-bar-striped-new {
    background-image: linear-gradient(316deg, rgba(1, 1, 1, .5) 25%, transparent 25%, transparent 50%, rgba(1, 1, 1, .5) 50%, rgba(1, 1, 1, .5) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;


}

/* COLORI INSEGNANTI - PALETTE MIGLIORATA E PIÙ ARMONICA */

.malacrinocarolina {
    background-color: #9ACD32;
    /* soft green */
    font-weight: 500;
    color: #1a1a1a;
}

.kingvicky {
    background-color: #E74C3C;
    /* warm red */
    font-weight: 500;
    color: whitesmoke;
}

.casonelizabeth {
    background-color: #F1C40F;
    /* rich yellow */
    font-weight: 500;
    color: #1a1a1a;
}

.rudeljtereza {
    background-color: #E5989B;
    /* muted rose */
    font-weight: 500;
    color: #1a1a1a;
}

.mirabellaerika {
    background-color: #5DADE2;
    /* soft sky blue */
    font-weight: 500;
    color: #1a1a1a;
}

.giardinimonica {
    background-color: #F39C12;
    /* deep orange */
    font-weight: 500;
    color: #1a1a1a;
}

.gencarelliclaudia {
    background-color: #D36AC2;
    /* bright magenta */
    font-weight: 500;
    color: whitesmoke;
}

.taherekiani {
    background-color: #8E5B2E;
    /* warm brown */
    font-weight: 500;
    color: whitesmoke;
}

.colagrossifrancesca {
    background-color: #8E44AD;
    /* elegant purple */
    font-weight: 500;
    color: whitesmoke;
}

.costanza {
    background-color: #1ABC9C;
    /* teal */
    font-weight: 500;
    color: whitesmoke;
}

.alfonsomarianelaines {
    background-color: #7D3C98;
    /* violet-indigo */
    font-weight: 500;
    color: whitesmoke;
}

.mbalilisajacobs {
    background-color: #95A5A6;
    /* neutral gray */
    font-weight: 500;
    color: whitesmoke;
}

.david {
    background-color: #2E7D32;
    /* deep forest green */
    font-weight: 500;
    color: whitesmoke;
}

.jade {
    background-color: #6E2C00;
    /* rich amber brown */
    font-weight: 500;
    color: whitesmoke;
}

.zelda {
    background-color: #00897B;
    /* deep turquoise */
    font-weight: 500;
    color: whitesmoke;
}

.stacy {
    background-color: #A93226;
    /* wine red */
    font-weight: 500;
    color: whitesmoke;
}

/* STATI */
.attesa-colore {
    background-color: #7F8C8D;
    color: whitesmoke;
}

.prenotato-colore {
    background-color: #145A32;
    color: whitesmoke;
}


.Start {
    background-color: #8AD2FF;
}

.Jump-In {
    background-color: #53D39F;
}

.Unit {
    background-color: #FFB533;
}

.G1 {
    background-color: #FFB533;
}

.G2 {
    background-color: #DB3E3E;
}

.G3 {
    background-color: #BE56EF;
}

.G4 {
    background-color: #9351FC;
}

.Preferenza {
    background-color: lightslategrey;
    max-height: 50px;
    min-height: 20px;

}

.calendar-cell-student.Preferenza.disabled-calendario {
    background: linear-gradient(145deg, #3b82f6, #2563eb);
    /* blue gradient */
    color: #ffffff;
    /*border: 2px solid #93c5fd; !* light blue highlight *!*/
    box-shadow:
        0 0 8px rgba(59, 130, 246, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease-in-out;
}

/* Hover state – even more “active” */
.calendar-cell-student.Preferenza.disabled-calendario:hover {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    box-shadow:
        0 0 12px rgba(59, 130, 246, 0.8),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

/* Optional subtle pulse to reinforce the 'selected' feeling */
@keyframes selectedPulse {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
    }

    50% {
        box-shadow: 0 0 14px rgba(96, 165, 250, 0.8);
    }
}

.calendar-cell-student.Preferenza.disabled-calendario.selected {
    animation: selectedPulse 2.5s ease-in-out infinite;
}


.calendar-cell-student.Preferenza {
    background: linear-gradient(145deg, #c0c4c7, #a6aaad);
    /* soft grey gradient */
    color: #eaeaea;
    /* light text for contrast */
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.75;
    /* slightly faded */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease-in-out;
}

/* Hover — just a tiny lift, still subtle */
.calendar-cell-student.Preferenza:hover {
    opacity: 0.9;
    background: linear-gradient(145deg, #b0b4b7, #9aa0a3);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}


/* CSS */
.button-mac {
    flex-direction: column;
    align-items: center;
    padding: 6px 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    border-radius: 6px;
    border: none;
    margin: 4px;

    color: #fff;
    background: linear-gradient(180deg, #4B91F7 0%, #367AF6 100%);
    background-origin: border-box;
    box-shadow: 0px 0.5px 1.5px rgba(54, 122, 246, 0.25), inset 0px 0.8px 0px -0.25px rgba(255, 255, 255, 0.2);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-mac:focus {
    box-shadow: inset 0px 0.8px 0px -0.25px rgba(255, 255, 255, 0.2), 0px 0.5px 1.5px rgba(54, 122, 246, 0.25), 0px 0px 0px 3.5px rgba(58, 108, 217, 0.5);
    outline: 0;
}

.disabled-calendario {
    background-color: dimgrey;
    color: linen;
    opacity: 1;
    pointer-events: all !important;
}

/*.disabled-calendario {*/
/*    box-shadow:0px 0px 0px 7px dimgray inset!important;*/
/*    cursor: not-allowed;*/
/*    pointer-events: all !important;*/
/*}*/

.attesa-calendario {
    box-shadow: 0px 0px 0px 7px dimgrey inset !important;
    pointer-events: all !important;
}

.confirmed-calendario {
    box-shadow: 0px 0px 0px 7px greenyellow inset !important;
    pointer-events: all !important;
}

.lista-lezioni-cell {
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 4px;
    margin-right: 4px;
    min-height: 60px;
    border-radius: 25px;
    text-align: center;
    align-items: center;
    font-weight: 500;
    box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
    line-height: 110%;
}

.col-lista-lezioni {
    margin-bottom: 4px;
    margin-top: 4px;

}

.clickable_text {
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    background-color: white;
    color: black;
    border: 2px solid #04AA6D;
}

.blinking {
    animation-name: blink-red;
    animation-duration: 1s;
    animation-timing-function: ease-in;
    animation-iteration-count: Infinite;
}

.blinking-2 {
    animation-name: blink-grey;
    animation-duration: 1s;
    animation-timing-function: ease-in;
    animation-iteration-count: Infinite;
}


@keyframes blink {
    0% {
        opacity: 100%;
    }

    50% {
        opacity: 0%;
    }

    100% {
        opacity: 100%;
    }
}

@keyframes blink-2 {
    0% {
        opacity: 100%;
    }

    40% {
        opacity: 0%;
    }

    50% {
        opacity: 100%;
    }

    60% {
        opacity: 0%;
    }

    100% {
        opacity: 100%;
    }
}

@keyframes blink-grey {

    0% {
        border: 0px solid black;
    }

    100% {
        border: 0px solid black;
        outline: 5px solid grey;
    }
}

@keyframes blink-red {
    0% {
        border: 0px solid black;
    }

    100% {
        border: 0px solid black;
        outline: 5px solid red;
    }

}

a.disabled {
    /* Make the disabled links grayish*/
    color: gray;
    /* And disable the pointer events */
    pointer-events: none;
}

.promo-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 100px;
}

.teaching-img {
    margin: 0 18px;
    max-width: 233px;
    border-radius: 25px;
}

/* EXTRACTOR PREMIUM UI */
.page-title {
    text-align: center;
    margin: 40px 0;
    color: white;
    font-weight: 700;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.premium-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-icon-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 2rem;
    color: #003366;
    margin-right: 15px;
    background: rgba(0, 51, 102, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #003366;
    margin: 0;
}

.premium-input-group {
    margin-bottom: 15px;
}

.premium-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.premium-input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    background: #f8f9fa;
}

.premium-input:focus {
    border-color: #003366;
    outline: none;
    background: white;
}

.premium-checkbox-wrapper {
    display: flex;
    align-items: center;
    margin: 10px 0;
    gap: 10px;
}

.premium-btn-action {
    background: linear-gradient(135deg, #003366 0%, #336699 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    width: 100%;
    margin-top: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

.premium-btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.3);
    color: white;
}

.group-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.filter-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f1f3f5;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-chip:hover {
    background: #e9ecef;
}

.filter-chip input {
    margin: 0;
}