.react-calendar__month-view__weekdays__weekday {
  font-size: 12px !important;
  text-transform: capitalize !important;
}
.react-calendar__navigation__next2-button, .react-calendar__navigation__prev2-button {
  display: none !important;
}
.react-calendar__tile--now {
  background-color: #007FA3 !important;
}
.react-calendar__navigation__label__labelText {
  font-size: 14px !important;
}
.react-calendar__month-view__days__day {
  padding: 6px 4px !important;
  font-size: 12px !important;
}
.react-calendar__month-view__weekdays__weekday abbr {
  text-decoration: none !important;
} 
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}
.gradient-overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2rem !important;
  background-image: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6), transparent) !important;
  pointer-events: none !important;
}
.ant-select, .ant-select-outlined {
  height: 40px !important;
  width: 250px !important;
}

.ant-picker, .ant-picker-range {
  height: 40px !important;
  width: 250px !important;
}
.ant-drawer-body {
  padding: 0 !important;
  overflow: hidden !important;
}

/* Active menu item styles */
li.active-menu-item, 
li.active-menu-item a,
div.active-menu-item {
  background-color: #E6F7FA;
  background-color: var(--color-primary-light, #E6F7FA);
  color: #007FA3;
  color: var(--color-primary, #007FA3);
  font-weight: 700;
  position: relative;
  border-radius: 8px;
}
.ant-select.single-select-filter {
  width: 100% !important;
  min-width: 0 !important;
  min-width: initial !important;
}
/* Submenu active item styles */
/* ul.ml-8 li.active-menu-item,
ul.ml-8 li.active-menu-item a {
  background-color: transparent;
  color: var(--color-primary, #007FA3);
  font-weight: 700;
} */

/* Remove the left accent bar for all active items */
/* ul.ml-8 li.active-menu-item::before,
li.active-menu-item::before,
div.active-menu-item::before {
  display: none;
} */

/* Hover styles */
li.active-menu-item:hover, 
li.active-menu-item a:hover,
div.active-menu-item:hover {
  border-radius: 8px;
}


.main-content {
    padding: 30px 30px 0 30px !important;
}

.main-content {
    background-color: #F3F6F8;
    min-height: 100vh;
    overflow: auto;
}

.w-fill-available {
    width: -webkit-fill-available;
}

.hand-raise-animation {
    animation: handRaise 1s ease-in-out;
}

@keyframes handRaise {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Active menu item styles */
li.active-menu-item, 
li.active-menu-item a,
div.active-menu-item {
    background-color: #E6F7FA;
    background-color: var(--color-primary-light, #E6F7FA);
    color: #007FA3;
    color: var(--color-primary, #007FA3);
    font-weight: 700;
    position: relative;
    border-radius: 8px;
}

/* Submenu active item styles */
ul.ml-8 li.active-menu-item,
ul.ml-8 li.active-menu-item a {
    background-color: transparent;
    color: #007FA3;
    color: var(--color-primary, #007FA3);
    font-weight: 700;
}

/* Remove the left accent bar for all active items */
ul.ml-8 li.active-menu-item::before,
li.active-menu-item::before,
div.active-menu-item::before {
    display: none;
}

li.active-menu-item:hover, 
li.active-menu-item a:hover,
div.active-menu-item:hover {
    border-radius: 8px;
}

/* Breadcrumb styles */
.ant-breadcrumb {
    font-size: 14px;
}

.ant-breadcrumb a {
    color: #007FA3;
    font-weight: 500;
}

.ant-breadcrumb a:hover {
    color: #005d7a;
}

.ant-breadcrumb-separator {
    margin: 0 8px;
    color: #666;
}

.ant-breadcrumb ol {
    display: flex;
    align-items: center;
}

.ant-breadcrumb .anticon {
    font-size: 12px;
}

/* Home icon specific styles */
.ant-breadcrumb a svg {
    vertical-align: middle;
    color: #007FA3;
}
/* Parent Dashboard Styles */
.parent-dashboard {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.dashboard-sidebar {
    width: 280px;
    left: 0;
    top: 0;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 120;
    position: fixed;
    /* or fixed if you want it to always stay visible on scroll */
}

.sidebar-header {
    padding: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar-header h4 {
    margin: 0;
    color: #007FA3;
    font-weight: 600;
}

.sidebar-menu {
    flex: 1;
    padding: 16px 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 4px 8px;
    border-radius: 8px;
    color: #666;
}

.sidebar-item:hover {
    background: rgba(24, 144, 255, 0.1);
    color: #007FA3;
    transform: translateX(4px);
}

.sidebar-item.active {
    background: #007FA3;
    color: white;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.sidebar-item svg {
    margin-right: 12px;
    font-size: 18px;
}

.sidebar-item span {
    font-weight: 500;
}

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Main Content Styles */
.dashboard-main {
    flex: 1;
    background: #f5f5f5;
    overflow-y: auto;
}

.main-header {
    background: white;
    padding: 24px 32px;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.main-header h2 {
    margin: 0;
    color: #262626;
}

.main-content {
    padding: 24px 32px;
}

/* Dashboard Content Styles */
.dashboard-content {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-row {
    margin-bottom: 24px;
}

.stat-card {
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card .ant-statistic-title {
    font-size: 16px;
    font-weight: 600;
    color: #666;
}

.stat-card .ant-statistic-content {
    font-size: 32px;
    font-weight: 700;
}

.children-card,
.history-card,
.study-results-card {
    margin-bottom: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.child-item {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.child-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.child-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.child-details {
    flex: 1;
}

.child-details h5 {
    margin: 0 0 8px 0;
    color: #262626;
}

.child-details .ant-typography {
    display: block;
    margin-bottom: 4px;
}

/* Table Styles */
.custom-table .ant-table {
    border-radius: 8px;
    overflow: auto;
}

.ant-table-thead>tr>th {
    background: #fafafa;
    font-weight: 600;
    color: #262626;
}

.ant-table-tbody>tr:hover>td {
    background: rgba(24, 144, 255, 0.05);
}

/* Badge and Tag Styles */
.ant-badge-status-text {
    font-weight: 500;
}

.ant-tag {
    border-radius: 4px;
    font-weight: 500;
}

/* Button Styles */
.ant-btn {
    border-radius: 6px;
    font-weight: 500;
}

.ant-btn-primary {
    background: #007FA3;
    border-color: #007FA3;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

.ant-btn-primary:hover {
    background: #40a9ff;
    border-color: #40a9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

/* Card Styles */
.ant-card {
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

.ant-card-head {
    border-bottom: 1px solid #e8e8e8;
    padding: 0 24px;
}

.ant-card-head-title {
    font-weight: 600;
    color: #262626;
}

.ant-card-body {
    padding: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-layout {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        height: auto;
        order: 2;
    }

    .dashboard-main {
        order: 1;
    }

    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        padding: 16px;
    }

    .sidebar-item {
        flex-shrink: 0;
        margin: 0 8px 0 0;
        white-space: nowrap;
    }

    .main-content {
        padding: 16px;
    }

    .stats-row {
        margin-bottom: 16px;
    }

    .user-profile {
        flex-direction: column;
        text-align: center;
    }

    .child-info {
        flex-direction: column;
        text-align: center;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Custom Scrollbar */
.dashboard-main::-webkit-scrollbar {
    width: 8px;
}

.dashboard-main::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dashboard-main::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.dashboard-main::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.parent-layout-root {
    min-height: 100vh;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
}

.parent-header {
    position: sticky;
    top: 0;
    z-index: 110;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.parent-main-content {
    z-index: 100;
    position: relative;
    flex: 1;
    min-height: 0;
    padding: 0;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    margin-left: 280px;
}
/* Fade in from left */
.fade-in-left {
    animation: fadeInLeft 1s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade in from right */
.fade-in-right {
    animation: fadeInRight 1s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide in from top */
.slide-in-top {
    animation: slideInTop 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes slideInTop {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* General fade in */
.fade-in {
    animation: fadeIn 1.2s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Button pulse animation */
.pulse-animation {
    transition: all 0.3s ease;
}

.pulse-animation:hover {
    transform: scale(1.03);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Parent register container */
.parent-register-container {
    overflow: hidden;
}

/* Success message animation */
.success-message {
    animation: successFadeIn 0.5s ease-out forwards;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
.register-content {
    padding-top: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.register-option {
    text-align: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.register-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.register-icon {
    font-size: 48px;
    color: #007FA3;
    margin-bottom: 16px;
}

.register-option h4 {
    margin: 0 0 8px 0;
    color: #262626;
}

.register-option .ant-typography {
    color: #666;
}

.register-custom-input .ant-input {
    min-width: 300px !important;
    padding-left: 11px !important;
    padding-right: 11px !important;
}

.register-custom-input .ant-input {
    width: -moz-fit-content;
    width: fit-content;
}

.register-class-form.ant-card,
.register-class-form.ant-card .ant-card-body {
    border-radius: 0 !important;
    min-height: 90vh !important;
    max-height: 140vh !important;
}

.disabled-card {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

/* Table Styles */
.custom-table .ant-table {
    border-radius: 8px;
    overflow: auto;
}

.long-text {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.user-profile-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-details h3 {
    margin: 0 0 8px 0;
    color: #262626;
}

.user-details .ant-typography {
    display: block;
    margin-bottom: 4px;
    color: #666;
}
.custom-ant-card .ant-card-body {
    padding: 10px !important;
}
