.glass-morph{
    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 20px 10px rgba(255, 255, 255, 1);
    position: relative;
    overflow: hidden;
    padding: 20px;
}
.glass-morph::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
        );

}
.glass-morph::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.8),
        transparent,
        rgba(255, 255, 255, 0.3)
        );
}
/********
* CARDS *
********/
.glass-card {

    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 20px 10px rgba(255, 255, 255, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
        );
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.8),
        transparent,
        rgba(255, 255, 255, 0.3)
        );
}

.glass-btn-play::before{
    color: lightseagreen;
    content: "\F4F4";

}
.glass-btn-edit::before{
    color: lightskyblue;
    content: "\F4C9";
}
.glass-btn-link::before{
    color: lightpink;
    content: "\F470";
}
.glass-btn-people::before{
    color: blue;
    content: "\F4CF";
}
.glass-btn-schedule::before{
    color: blue;
    content: "\F209";
}


.glass-btn {
    font-family: "bootstrap-icons";
    width: 40px;
    height: 40px;
    border-radius: 22%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        border 0.25s ease;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.6);
}
.glass-btn-play:hover {
    box-shadow:
        0 12px 30px rgba(0,0,0,0.25),
        0 0 18px rgba(32,178,170,0.6);
}

.glass-btn-edit:hover {
    box-shadow:
        0 12px 30px rgba(0,0,0,0.25),
        0 0 18px rgba(135,206,250,0.6);
}

.glass-btn-link:hover {
    box-shadow:
        0 12px 30px rgba(0,0,0,0.25),
        0 0 18px rgba(255,182,193,0.6);
}
.glass-btn::before {
    transition: transform 0.25s ease;
}

.glass-btn:hover::before {
    transform: scale(1.15);
}


.form-floating > .form-control {
    font-size: 14px;
}
.form-floating > label {

}

.hub-loader span{
    width:12px;
    height:12px;
    margin:5px;
    background:#D4AF37;
    border-radius:50%;
    display:inline-block;
    animation:bounce 1.2s infinite;
}

.hub-loader span:nth-child(2){
    animation-delay:0.2s;
}

.hub-loader span:nth-child(3){
    animation-delay:0.4s;
}

@keyframes bounce{
    0%,80%,100%{
        transform:scale(0);
    }
    40%{
        transform:scale(1);
    }
}

.image-class-card {
    background-image: url('/images/default_class.jpg');
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


/* =========================================================
   GLASS MODAL
   Použití:
   <div class="modal fade modal-glass" ...>
   ========================================================= */

.modal-glass .modal-dialog {
    border-radius: 20px;
}

.modal-glass .modal-content {
    background: rgba(255, 255, 255, 0.50) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 10px 2px rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    padding: 0;
    color: #243240;
}

.modal-glass .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
        );
    pointer-events: none;
    z-index: 2;
}

.modal-glass .modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.8),
        transparent,
        rgba(255, 255, 255, 0.3)
        );
    pointer-events: none;
    z-index: 2;
}

/* HEADER */
.modal-glass .modal-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding: 1rem 1.25rem;
    position: relative;
    z-index: 3;
}

.modal-glass .modal-title {
    font-weight: 700;
    color: #243240;
}

/* BODY */
.modal-glass .modal-body {
    background: transparent;
    padding: 1.25rem;
    position: relative;
    z-index: 3;
}

/* FOOTER */
.modal-glass .modal-footer {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding: 1rem 1.25rem;
    position: relative;
    z-index: 3;
}

/* Zavírací tlačítko */
.modal-glass .btn-close {
    filter: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.modal-glass .btn-close:hover {
    opacity: 1;
}

/* Backdrop */
.modal-backdrop.show {
    background-color: rgba(30, 78, 140, 0.35);
    opacity: 1 !important;
}

/* Lepší vzhled na menších zařízeních */
@media (max-width: 576px) {
    .modal-glass .modal-content {
        border-radius: 16px;
    }

    .modal-glass .modal-header,
    .modal-glass .modal-body,
    .modal-glass .modal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.modal.fade .modal-dialog {
    transform: translateY(30px) scale(0.98);
    opacity: 0;
    transition: all 0.25s ease;
}

.modal.show .modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.modal-glass .modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
        );
    transform: rotate(25deg);
    pointer-events: none;
    animation: glassLight 6s infinite linear;
}

@keyframes glassLight {
    0% {
        transform: translateX(-100%) rotate(25deg);
    }
    100% {
        transform: translateX(200%) rotate(25deg);
    }
}