@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

#welcome-slide {
    transition: opacity 1s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #305CDE;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2646b1;
}
/* Hero section overlay */
.bg-black\/40 {
    background-color: rgba(0, 0, 0, 0.4);
}
/* Hero section */
main section:first-child {
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
}

/* Hero image full bleed */
main section:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Hero text styling */
main section:first-child h2 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

main section:first-child p {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
@media (min-width: 768px) {
    main section:first-child {
        min-height: 500px;
    }
}
/* Audio player styles */
audio {
    transition: all 0.3s ease;
}

audio:hover {
    transform: scale(1.02);
}

audio::-webkit-media-controls-panel {
    background-color: #f3f4f6;
}
audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button {
    background-color: #305CDE;
border-radius: 50%;
}
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    color: #374151;
    font-family: 'Poppins', sans-serif;
}

/* 3D Animation Container */
#doctor-container {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: transparent;
}
/* Pulse animation for important info */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.warning-box {
    animation: pulse 2s infinite;
    border-left: 4px solid #dc2626;
    background-color: #fef2f2;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0 0.375rem 0.375rem 0;
}
.pulse {
    animation: pulse 2s infinite;
}
/* Logo in admin header */
.admin-logo {
    transition: transform 0.3s ease;
}
.admin-logo:hover {
    transform: rotate(10deg);
}

/* Dropdown menu */
.dropdown-menu {
  transition: all 0.3s ease;
  transform-origin: top center;
}
/* Mobile menu transition */
#mobile-menu {
  transition: all 0.3s ease-out;
  max-height: 0;
  overflow: hidden;
}

#mobile-menu:not(.hidden) {
  max-height: 500px;
}

/* Adjust main titles for mobile to avoid burger menu overlap */
@media (max-width: 768px) {
  main h1 {
    padding-top: 3rem !important;
  }
}
/* Back button */
.back-button {
    transition: all 0.3s ease;
}
/* Video container aspect ratio */
.aspect-w-16 {
    position: relative;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    height: 0;
    overflow: hidden;
}
.aspect-w-16 iframe,
.aspect-w-16 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* Enhanced Carousel Styles */
.carousel-container {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.press-carousel {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.press-card {
    flex: 0 0 100%;
    transition: all 0.3s ease;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-prev:hover, .carousel-next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}

.press-card {
    padding: 2rem;
    background: white;
}
.press-card img,
.annonce-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.annonce-video {
    width: 100%;
    max-height: 400px;
    border-radius: 8px;
    background: #000;
}

.delete-btn {
    transition: all 0.3s ease;
}
.delete-btn:hover {
    transform: scale(1.1);
    color: #ef4444;
}
/* Announcement image container */
#announcement-image-container {
    transition: opacity 0.3s ease;
}

#announcement-image-container.hidden {
    display: none;
}

/* Candidature card styles */
candidature-card {
    display: block;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

candidature-card:hover {
    transform: translateY(-2px);
}

/* File upload styles */
#image-preview img,
#video-preview video {
    max-width: 100%;
    max-height: 200px;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

/* File upload button */
input[type="file"] {
    display: none;
}

label[for="image-upload"],
label[for="video-upload"] {
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

label[for="image-upload"]:hover,
label[for="video-upload"]:hover {
    background-color: #e5e7eb;
}
@media (max-width: 768px) {
    .press-card {
        flex-direction: column;
    }
    
    .press-card img {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    .carousel-prev, .carousel-next {
        width: 30px;
        height: 30px;
    }
}
/* Quick Access Links */
.quick-access-link {
    transition: all 0.3s ease;
}

.quick-access-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #305CDE;
}
/* Calendar section styles */
.calendar-container {
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* FullCalendar custom styles */
.fc {
    font-family: 'Poppins', sans-serif;
}

.fc-header-toolbar {
    margin-bottom: 1em;
}

.fc-daygrid-day-number, 
.fc-col-header-cell-cushion {
    color: #374151;
    text-decoration: none;
}
.fc-event {
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85em;
    padding: 2px 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fc-daygrid-event-dot {
    border-color: white;
}
/* Enhanced Calendar Styles */
.fc .fc-toolbar-title {
    font-size: 1.25rem;
    font-weight: 600;
}
.fc .fc-button {
    background-color: #305CDE;
    border-color: #305CDE;
    padding: 0.4em 0.65em;
    font-size: 0.9em;
}

.fc .fc-button-primary:not(:disabled).fc-button-active, 
.fc .fc-button-primary:not(:disabled):active {
    background-color: #2646b1;
    border-color: #2646b1;
}
.fc .fc-timegrid-slot {
    height: 2.5em;
}

/* Notes styles */
.note-card {
    transition: all 0.2s ease;
}

.note-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.delete-note-btn {
    transition: all 0.2s ease;
}

.delete-note-btn:hover {
    transform: scale(1.1);
    color: #ef4444;
}

/* Toast notification */
.toast {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.fc-button:hover {
    background-color: #2646b1;
    border-color: #2646b1;
}

.fc-button-primary:not(:disabled).fc-button-active {
    background-color: #2646b1;
    border-color: #2646b1;
}
/* Admin layout */
.admin-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

/* Form layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
/* Table styles */
table {
    border-collapse: separate;
    border-spacing: 0;
}

th {
    background-color: #f8fafc;
    position: sticky;
    top: 0;
}

td, th {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

tr:hover {
    background-color: #f8fafc;
}
