         
           @font-face {
            font-family: 'DePixelSchmal';
            src: url('/assets/fonts/OpenType/DePixelSchmal.otf') format('opentype');
            font-weight: normal;
            font-style: normal;
        }
        
        html, body {
            margin: 0;
            padding: 0;
            height: 100%;
            font-family: Comic Sans MS;
            background: url("/assets/images/home-background.jpg") no-repeat center center fixed;
            background-size: cover;
            color: #fff;
        }
        * {
                box-sizing: border-box;
            }
        /* Center everything vertically and horizontally */
        .sec-1 {
        width: 100%;
            min-height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            text-align: center;
        }
        
        /* Heading */
        .sec-1 h1 {
            font-family: 'DePixelSchmal', sans-serif;
            font-size: 8vw; /* responsive font size */
            margin-bottom: 30px;
            font-weight: 700;
        }
        .title-1 {
            color: #9ABBF3;
            text-shadow: -2px 0 0 #C67DE0;
        }
        .title-2 {
            color: #C67DE0;
            text-shadow: 2px 0 0 #9ABBF3;
        }
        
        /* Container for boxes */
        .container {
        display: flex;
        flex-wrap: nowrap;
        gap: 40px;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        padding-top: 80px;
        }
        
        /* Individual box */
        .box {
            flex: 1 1 150px; /* grow, shrink, base width */
            min-width: 120px; /* minimum size on small screens */
            max-width: 300px; /* optional max width */
            height: 300px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 1.2rem;
            font-weight: bold;
            border-radius: 12px;
           /* Transparent matte glass effect */
            background: rgba(255, 255, 255, 0.1); /* semi-transparent */
            backdrop-filter: blur(10px);          /* frosted effect */
            -webkit-backdrop-filter: blur(10px);  /* Safari support */
        
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.2); /* optional subtle border */
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            cursor: pointer;
        }
        
        /* Make link fill the box */
        .box-link {
            color: white;
            display: block;
            text-decoration: none; /* remove underline */
        }
        
        .box-link .box {
            cursor: pointer;       /* show pointer on hover */
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        /* Optional hover effect */
        .box-link .box:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        }





/*Student Login*/
.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}


.login-container {
    padding: 30px;
    width: 100%;
    max-width: 560px;
    border-radius: 10px;
}

        .login-container h2 {
            text-align: center;
            margin-bottom: 20px;
        }

        .form-group {
            margin-bottom: 15px;
            text-align: left;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-size: 14px;
        }
.form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid white;
    font-size: 14px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}
::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 300;
}
        .form-group input:focus {
            outline: none;
            border-color: #2575fc;
        }

        .login-btn {
            width: 100%;
            padding: 12px;
            background: #9ABBF3;
            backdrop-filter: blur(10px);
            border: 1px solid #C67DE0;
            color: white;
            font-size: 16px;
            border-radius: 5px;
            cursor: pointer;
            transition: 0.3s ease;
        }

        .login-btn:hover {
            background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
        }

        .extra {
            text-align: center;
            margin-top: 15px;
            font-size: 14px;
                display: flex;
    justify-content: space-between;
        }

        .extra a {
            color: #C67DE0;
            font-weight: 700;
            
            text-decoration: none;
        }

        .extra a:hover {
            text-decoration: underline;
        }
        .dashboard-actions {
    text-align: center;
    margin-top: 20px;
}

.logout-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff4d4f;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.logout-btn:hover {
    background-color: #e04344;
}

        
        
        
        
        
        /*Registration CSS*/
        
        .register-container {
            padding: 30px;
            width: 100%;
            max-width: 560px;
            border-radius: 10px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }

        .register-container h2 {
            text-align: center;
            margin-bottom: 20px;
        }
        .container-form{
                display: flex;
                flex-wrap: nowrap;
                gap: 40px;
                justify-content: center;
                width: 100%;
                max-width: 100%;
                padding-top: 0px;
        }
        .form-cont {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            column-gap: 25px;
        }
        
        /* Make fields span full width when needed */
        .form-cont .full {
            grid-column: span 2;
        }
        .password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 40px; /* space for eye icon */
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #777;
}

.toggle-password:hover {
    color: #2575fc;
}


        /*Verification page*/
        
        .verification-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
    text-align: center;
}

.verification-container h2 {
    margin-bottom: 15px;
    color: #2575fc;
}

.verification-container p {
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

.verification-container .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.verification-container input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
}

.verification-container input:focus {
    outline: none;
    border-color: #2575fc;
}

.verify-btn {
    width: 100%;
    padding: 12px;
    background: #2575fc;
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.verify-btn:hover {
    background: #1a5ed8;
}

.resend {
    margin-top: 15px;
    font-size: 13px;
}

.resend a {
    color: #2575fc;
    text-decoration: none;
}

.resend a:hover {
    text-decoration: underline;
}


/*Student Dashboard*/
.head-dashboard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 80px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.icon {
    position: relative;
    font-size: 22px;
    cursor: pointer;
    color: #333;
}

.icon:hover {
    color: #5b5bff;
}

/* Notification badge */
.badge {
    position: absolute;
    top: -5px;
    right: -6px;
    background: red;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
}

.container-main-dashboard{
    width: 100%;
}
.sec-dashboard{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}
.sec-dashboard h1{
                font-family: 'DePixelSchmal', sans-serif;
            font-size: 60px; /* responsive font size */
            margin-bottom: 30px;
            font-weight: 700;
    
}

/* HEADER ICONS */
/* Header icons */
.icon {
    position: relative;
    font-size: 22px;
    cursor: pointer;
}

/* Notification dropdown */
.notif-dropdown {
    display: none; /* hidden by default */
    position: absolute;
    top: 35px; /* below bell icon */
    right: 0;
    width: 250px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
}

.notif-dropdown .notif-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.notif-dropdown .notif-list li {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.notif-dropdown .notif-list li:last-child {
    border-bottom: none;
}

/* Profile dropdown (already had this) */
.profile-dropdown {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    width: 160px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1000;
    flex-direction: column;
}

.profile-dropdown a {
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    color: #333;
}

.profile-dropdown a:hover {
    background: #f1f1f1;
}

.profile-dropdown hr {
    margin: 5px 0;
    border: none;
    border-top: 1px solid #eee;
}
.fa-bell{
    color: #ffb30f;
    font-size: 45px;
}
.fa-user-circle{
    color: white;
    font-size: 60px;
}


/* Profile Modal */
.profile-modal {
    display: none; /* hidden by default */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex; /* <--- add this when showing the modal */
    align-items: center;
    justify-content: center;
    z-index: 2000;
}


.profile-modal-content {
    background: #fff;
    width: 400px;
    max-width: 90%;
    border-radius: 12px;
    overflow: hidden;
}

.profile-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #5b5bff;
    color: #fff;
    padding: 15px;
}

.profile-modal-header .close {
    cursor: pointer;
    font-size: 22px;
}

.profile-modal-body {
    color: black;
    padding: 20px;
}

.profile-modal-body p {
    margin: 10px 0;
    font-size: 14px;
}

.profile-modal-body input {
    width: 100%;
    padding: 8px 10px;
    margin: 5px 0 15px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.profile-modal-body button {
    padding: 10px 20px;
    background: #5b5bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.profile-modal-body button:hover {
    background: #4343d6;
}

.dashboard-welcome{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.box-cont{
display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    gap: 40px;
}


.box {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 15px;
    transition: 0.2s ease;
}

.box:hover {
    transform: translateY(-3px);
}

.teacher-page h4 {
    margin: 0 0 5px;
}

.no-activity {
    text-align: center;
    width: 100%;
}

.create-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background: #5b5bff;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
}


/* Hamburger */
.hamburger-cont {
  position: fixed;
  top: 10px;
  left: 10px;
  width: 50px;
  height: 50px;
  background: #ffffff;          /* background color */
  border-radius: 120px;          /* rounded corners */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

/* Hamburger icon */
.hamburger {
  width: 35px;
  height: 25px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
    height: 7px;
    width: 100%;
    border: 2px solid #9900cc;
    background: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}


/* Hamburger animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -350px; /* hidden */
  width: 350px;
  height: 100vh;
  background: white;
  padding-top: 70px;
  transition: left 0.3s ease;
  z-index: 1000;
}

/* Show sidebar */
.sidebar.active {
  left: 0;
}

/* Sidebar links */
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  padding: 5px 20px;
}

.sidebar ul li a {
  color: black;
  text-decoration: none;
  font-size: 16px;
  display: block;
}

.sidebar ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
}

.sidebar li a i {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.sidebar li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.sidebar .nav-link.active {
    background: rgba(255,255,255,0.15);
}


/* Sidebar links (DEFAULT / INACTIVE) */
.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin: 6px 10px;
    background: #fbf3fe;               /* INACTIVE COLOR */
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

/* Hover (slightly highlight inactive) */
.sidebar .nav-link:hover {
    background: rgba(198, 125, 224, 0.25);
}

/* ACTIVE STATE */
.sidebar .nav-link.active {
    background: #c67de0;          /* ACTIVE BACKGROUND */
    color: #ffffff;               /* ACTIVE TEXT */
    box-shadow: 0 4px 12px rgba(198, 125, 224, 0.5);
}

/* Make icon + text bold when active */
.sidebar .nav-link.active i,
.sidebar .nav-link.active span {
    font-weight: 600;
}

/* Icon styling */
.sidebar .nav-link i {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.home-cards{
        display: flex;
    gap: 36px;
    justify-content: center;
    
}

.page-content{
  width: 100%;
}



/*Home*/

/* ===== HOME ONLY ===== */
#home .home-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

#home .left-column,
#home .right-column {
  background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* Forms */
#home form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-direction: column;
}

#home input {
  flex: 1;
  padding: 6px;
}

#home button {
  padding: 6px 10px;
  cursor: pointer;
}

/* Lists */
#home ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#home li {
  padding: 6px;
  margin-bottom: 5px;
  background: #f4f4f4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
}

#home li button {
  margin-left: 5px;
}

/* ===== CALENDAR ===== */
#home .calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

#home #calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

#home .calendar-day {
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
  cursor: pointer;
  border-radius: 4px;
}

#home .calendar-day.has-event {
  background: #4caf50;
  color: #fff;
}

#home .calendar-day.selected {
  border: 2px solid #2196f3;
}


#schedule .right-column label {
  font-size: 14px;
  margin-top: 8px;
  display: block;
}

#schedule .right-column input,
#schedule .right-column select {
  width: 100%;
  padding: 6px;
  margin-bottom: 8px;
}

#schedule .schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

#schedule .schedule-table th,
#schedule .schedule-table td {
  border: 1px solid #ddd;
  padding: 6px;
  font-size: 14px;
  text-align: center;
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.add-btn {
  font-size: 22px;
  padding: 4px 10px;
  cursor: pointer;
}

.empty-text {
  text-align: center;
  color: #777;
  margin-top: 20px;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.modal-content {
      background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  margin: 10% auto;
}

.modal-content label {
  display: block;
  margin-top: 8px;
}
.schedule-table{
    width: 100%;
}

        /* Styling for unread notifications */
.unread-item {
    background-color: #f0f7ff; /* Light blue tint */
    font-weight: bold;
}

/* Ensure badge stays circular and centered */
.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    display: none; /* Hidden by default */
}

.notif-list{
    height: 400px;
    overflow: auto;
}

#activityList li{
background:#f4f4f4;
padding:10px;
margin:5px 0;
border-radius:6px;
cursor:pointer;
    color: black;
}

#activityList li.done{
background:#c8e6c9;
text-decoration:line-through;
}


/* Modal Background */
.modal-overlay {
    position: fixed;
    z-index: 9999; /* Higher z-index to stay on top */
    inset: 0;
    background-color: rgb(0 0 0 / 17%);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Box */
.modal-content {
        background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 12px;
    width: 30%;
    max-width: 100%; /* Limits size on desktop */
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* UNIFIED Form Field Styling */
#activityForm input, 
#activityForm select {
    width: 100% !important;
    height: 45px; /* Fixed height makes them identical */
    padding: 0 12px; /* Horizontal padding */
    margin-top: 5px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    display: block;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box; /* Ensures padding doesn't add to width */
}

/* Fix for date/time inputs specifically */
#activityForm input[type="date"],
#activityForm input[type="time"] {
    font-family: inherit; /* Prevents font jumping */
}

#activityForm input:focus, 
#activityForm select:focus {
    border-color: #9ABBF3;
    box-shadow: 0 0 5px rgba(154, 187, 243, 0.3);
}

/* Labels */
#activityForm label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    display: block;
    margin-bottom: 2px;
}

/* Side-by-Side Time Inputs */
.time-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

/* Save Button */
.save-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #9ABBF3, #C67DE0);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.save-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
/* Container for label + input pairs */
.input-group {
    margin-bottom: 15px; /* Consistent vertical spacing */
    width: 100%;
}

#activityForm label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px; /* Gap between label and its input */
    text-align: left;
}

/* Ensure inputs don't have extra bottom margin now that input-group handles it */
#activityForm input, 
#activityForm select {
    margin-bottom: 0 !important; 
}

/* Keeps the 2-column layout tidy */
.time-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
#scheduleCalendar{
  margin-top:12px;
  background:none;
  padding:12px;
  border-radius:10px;
}

.box-dash{
        width: 100%;
    flex: 1 1 150px;
    min-width: 120px;
    max-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
        padding: 40px 10px;
            flex-direction: column;
}

.fc-event-main-frame{
    display: flex;
    flex-direction: column;	
}
.fc-event-title-container,
.fc-event-time{
font-weight: 100;
    font-size: 10px;
}

.modal-loader{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:15px;
    font-size:14px;
    color:#2563eb;
}

.spinner{
    width:20px;
    height:20px;
    min-width:20px;
    min-height:20px;

    border:3px solid rgba(59,130,246,0.3);
    border-top:3px solid #3b82f6;

    border-radius:50%;
    box-sizing:border-box;

    animation: spin 0.8s linear infinite;
}


@keyframes spin{
    to{ transform: rotate(360deg); }
}
.container-students{
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}
#activityList{
        height: 400px;
    overflow: auto;
}
.teacher-archives{
    width: 100%;
}
.box-dashboard-teacher{
        flex: 1 1 150px;
    max-width: 100%;
    height: 445px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    
}
.container-dash-tech{
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}
/* ===== BADGES ===== */
/* ================= ACTIVITY BADGES ================= */
.activity-badge{
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    margin-right: 6px;
    position: static !important;   /* prevents floating */
}

/* Status */
.badge-active{
    background:#28a745;
}
.badge-completed{
    background:#6c757d;
}

/* Sections */
.badge-ABM{ background:#e74c3c; }
.badge-GAS{ background:#3498db; }
.badge-STEM{ background:#9b59b6; }
.badge-TVL{ background:#f39c12; }
.badge-HUMMS{ background:#16a085; }

/* Activity Row */


.activity-content{
    max-width:80%;
}
.highlight-flash {
    animation: flash-animation 2s ease-out;
}

@keyframes flash-animation {
    0% { background-color: #5b5bff33; border-color: #5b5bff; }
    100% { background-color: transparent; border-color: transparent; }
}



/* Modal header */
.modal-header {
    position: relative;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

/* Close button (X) */
.modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #555;
    transition: 0.2s ease;
}

.modal-close:hover {
    color: #e74c3c;
    transform: scale(1.15);
}

/* Time inputs responsive row */
.time-row {
    display: flex;
    gap: 10px;
}

.time-row > div {
    flex: 1;
}



/* ===== CONTAINER ===== */
.schedule-table-container {
    width: 100%;
    overflow-x: auto;
}

/* ===== TABLE ===== */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: none;
    border-radius: 12px;
    overflow: hidden;
}

.schedule-table th {
    background: #C67DE0;
    text-align: left;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
}

.schedule-table td {
    padding: 14px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.schedule-table tbody tr:hover {
    background: #9ABBF3;
}

/* ===== BADGES ===== */
.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Different colors per type */
.class {
    background: #e8f5e9;
    color: #2e7d32;
}

.training {
    background: #e3f2fd;
    color: #1976d2;
}

.game {
    background: #fff3e0;
    color: #ef6c00;
}

/* ===== BUTTONS ===== */
/* Target the first button (Edit) in the last cell of each row */
#schedule-table-container table tbody tr td:last-child button:nth-child(1) {
    background: #3498db; /* Blue */
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 5px;
}

/* Target the second button (Delete) in the last cell of each row */
#schedule-table-container table tbody tr td:last-child button:nth-child(2) {
    background: #e74c3c; /* Red */
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}





    /* Optional responsive adjustments for very small screens */
      @media (min-width: 1024px) {
    .sidebar .header-actions{
        display: none;
    }
      }
    
      @media (max-width: 1024px) {
    .head-dashboard  .header-actions{
        display: none;
        }
        .header-actions{
            position: absolute;
            top: 12px;
            right: 12px;
        }
        .fa-user-circle {
            color: black;
        }
        .fa-bell {
            font-size: 40px;
        }
        
        .sec-dashboard h1 {
            font-size: 38px;
        }
        
        .box-cont {
            display: flex;
            gap: 24px;
            flex-direction: column;
        }
        
        .box-dash {
            width: 100%;
        
        }
        
        #scheduleCalendar {
            width: 100%;
            max-width: 100%;
        }
        
        .modal-content {
            width: 80%;
        }
        #home .home-layout {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-top: 20px;
        }


}
        
    @media (max-width: 768px) {
        
        
        #activityForm input, #activityForm select {
                height: 30px;
            }
        
        .head-dashboard {
            display: flex;
                justify-content: center;
            }
                    
        
        .container {
    gap: 15px;
    }
                    
    .form-cont {
         display: grid;
         grid-template-columns: repeat(1, 1fr);
         column-gap: 25px;
                 }
                        
    .sec-1 {
       width: 100%;
        min-height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        height: 100%;
         }
    .container-main{
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
         }
         
         
             /* Stack toolbar vertically */
    .fc-header-toolbar {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    /* Each section becomes full width */
    .fc-toolbar-chunk {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Title smaller */
    .fc-toolbar-title {
        font-size: 14px !important;
        text-align: center;
    }

    /* Buttons smaller */
    .fc-button {
        padding: 4px 6px !important;
        font-size: 12px !important;
    }

    /* Prevent button overflow */
    .fc-button-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    /* Reduce icon size */
    .fc-icon {
        font-size: 12px;
    }
         
         
            .fc {
        font-size: 11px;
    }

    .fc-col-header-cell-cushion {
        font-size: 10px;
    }

    .fc-timegrid-slot-label-cushion {
        font-size: 9px;
    }

    .fc-event-title,
    .fc-event-time {
        font-size: 10px;
    }

    /* Smaller column width */
    .fc-timegrid-axis {
        width: 45px !important;
    }

    /* Reduce spacing */
    .fc-timegrid-slot {
        height: 28px !important;
    }
    
    
    /*schedule responsive*/
    
      .schedule-table thead {
        display: none;
    }

    .schedule-table,
    .schedule-table tbody,
    .schedule-table tr,
    .schedule-table td {
        display: block;
        width: 100%;
    }

    .schedule-table tr {
        background: none;
        margin-bottom: 15px;
        padding: 14px;
        border-radius: 12px;
        box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    }

    .schedule-table td {
        border: none;
        padding: 8px 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .schedule-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #555;
    }

    /* Buttons stack nicely */
    .schedule-table td[data-label="Action"] {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
         
         
}  
        
    @media (max-width: 400px) {
        .time-row {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

#scheduleForm input{
    width: 100%;
}
         .box {
           height: 150px;
           font-size: 1rem;
          }
          .sec-1 h1 {
            font-size: 14vw;
                }
            }  
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        