/* Teacher Profile Page Styles */

/* Hide theme Subheader H1 to avoid multiple H1s on this page */
#Subheader h1.title { display: none !important; }

/* Styles for Google Calendar busy time slots */
.time-slot.busy-slot {
    background-color: #e5e7eb !important;
    color: #6b7280 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    position: relative;
}

.time-slot.busy-slot:hover {
    background-color: #d1d5db !important;
}

.time-slot.busy-slot::after {
    content: "🚫";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

/* Animation for schedule updates */
@keyframes scheduleUpdate {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.schedule-updating {
    animation: scheduleUpdate 1s ease-in-out;
}

/* Google Calendar integration indicator */
.google-calendar-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: #f0f9ff;
    color: #0369a1;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #bae6fd;
    margin-bottom: 8px;
}

.google-calendar-indicator i {
    color: #4285f4;
}

.google-calendar-indicator::before {
    content: "📅";
}

/* New Design Styles */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active Tab Styles */
.tab-btn.active {
    background-color: #308a9b; /* brand-teal */
    color: white;
    border-color: #308a9b;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: scale(1.05);
}

.tab-btn:not(.active) {
    background-color: white;
    color: #475569; /* slate-600 */
    border-color: #e2e8f0; /* slate-200 */
}

.tab-btn:not(.active):hover {
    border-color: #308a9b; /* brand-teal */
    color: #308a9b; /* brand-teal */
    background-color: #ecfdf5; /* brand-teal/5 roughly or light green/teal mix */
}

/* Admin Bar Sticky Fix */
body.admin-bar #navbar { top: 32px; z-index: 2;}
@media screen and (max-width: 782px) {
    body.admin-bar #navbar { top: 46px; }
}
.cert-modal { z-index: 3 !important; }

#prev-btn:hover, #next-btn:hover {
    color: var(--bookly-main-color) !important;
}
