﻿
.appointment-card {
    border: 1px solid #e3e3e3;
    border-top: 3px solid #0d6efd;
    border-radius: 10px;
    background: #ffffffcc;
    backdrop-filter: blur(5px);
    text-align: center;
    padding: 15px 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    height: 100%;
}

.appointment-card:hover {
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.appointment-card.selected {
    box-shadow: 0 0 0 3px #0d6efd inset;
    animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 0 3px #0d6efd inset;
    }

    to {
        box-shadow: 0 0 8px 3px #0d6efd inset;
    }
}

.check-icon {
    position: absolute;
    top: 0;
    right: 0;
    background: #0d6efd;
    color: #fff;
    padding: 5px 7px;
    font-size: 12px;
    border-bottom-left-radius: 6px;
    display: none;
}

.appointment-card.selected .check-icon {
    display: block;
}

.appointment-icon {
    background: #e9f3ff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

    .appointment-icon i {
        font-size: 20px;
        color: #0d6efd;
    }

.appointment-type {
    font-weight: 600;
    font-size: 15px;
    color: #222;
    margin-bottom: 3px;
}

.appointment-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.appointment-fee {
    font-size: 13px;
    color: #000;
    font-weight: 500;
    border-top: 1px solid #ddd;
    padding-top: 8px;
}

#alert {
    font-size: 13px;
    padding: 8px 12px;
    animation: fadeIn 0.5s ease-in-out;
    border-left: 4px solid #0d6efd;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .offcanvas-top {
        height: 90vh !important;
        overflow-y: auto;
    }

    .appointment-card {
        padding: 12px 8px;
    }

    .appointment-icon {
        width: 40px;
        height: 40px;
    }

        .appointment-icon i {
            font-size: 18px;
        }

    .appointment-type {
        font-size: 14px;
    }

    .appointment-desc {
        font-size: 11px;
    }

    .appointment-fee {
        font-size: 12px;
    }
} 
