 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }

 body {
   margin: 0;
   background-color: #4a4c4f;
 }

 /* HEADER */
 .header {
   background-color: #1a2740;
   color: white;
   display: flex;
   align-items: center;
   gap: 19px;
   padding: 14px 30px;

 }

 .logo-box {
   width: 78px;
   height: 78px;
   border-radius: 50%;
   overflow: hidden;
   background: white;
   border: 2px solid #4da3ff;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
 }

 .logo-img {
   width: 88%;
   height: 88%;
   object-fit: contain;
 }

 .header-text h1 {
   font-size: 28px;
   letter-spacing: 1px;
 }

 .header-text p {
   font-style: italic;
   color: #aac4e0;
   font-size: 14px;
   margin-top: 4px;
 }

 /* PANEL TITLE */
 .panel-title {
   background-color: #1a2740;
   color: white;
   text-align: center;
   padding: 10px;
   font-size: 15px;
   font-weight: bold;
   letter-spacing: 2px;
 }

 /* BUTTONS GRID */
 .grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 20px;
   padding: 30px 40px;
   max-width: 900px;
   margin: 0 auto;
 }

 .btn {
   padding: 22px 16px;
   font-size: 15px;
   font-weight: bold;
   color: white;
   border: none;
   border-radius: 6px;
   cursor: pointer;
   letter-spacing: 1px;
   transition: opacity 0.2s, transform 0.1s;
 }

 .btn:hover {
   opacity: 0.88;
   transform: scale(1.02);
 }

 .btn:active {
   transform: scale(0.98);
 }

 /* BUTTON COLORS */
 .blue {
   background-color: #2e86de;
 }

 .green {
   background-color: #27ae60;
 }

 .red {
   background-color: #e74c3c;
 }

 .purple {
   background-color: #8e44ad;
 }

 .cyan {
   background-color: #00b5cc;
 }

 .orange {
   background-color: #e67e22;
 }

 .lime {
   background-color: #8bc34a;
   color: white;
 }

 .gray {
   background-color: #636e72;
 }

 /* DATA SECTION */
 .data-section {
   max-width: 900px;
   margin: 0 auto 40px auto;
   padding: 0 40px;
 }

 .data-section h2 {
   color: #1a2740;
   margin-bottom: 16px;
   font-size: 20px;
   border-left: 5px solid #2e86de;
   padding-left: 12px;
 }

 /* TABLE STYLES */
 table {
   width: 100%;
   border-collapse: collapse;
   background: white;
   border-radius: 8px;
   overflow: hidden;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
 }

 th {
   background-color: #1a2740;
   color: white;
   padding: 12px 16px;
   text-align: left;
   font-size: 13px;
 }

 td {
   padding: 11px 16px;
   border-bottom: 1px solid #eee;
   font-size: 13px;
   color: #333;
 }

 tr:last-child td {
   border-bottom: none;
 }

 tr:hover td {
   background-color: #f7f9fc;
 }

 /* LOADING & ERROR */
 .loading {
   color: #2e86de;
   font-style: italic;
   padding: 20px 0;
 }

 .error {
   color: #e74c3c;
   padding: 20px 0;
 }



 .darkblue {
   background-color: #1f3c88;
 }

 .bottom-center {
   grid-column: 1 / span 2;
   width: 49%;

   margin-top: 1px;
 }

 .btn {
   padding: 18px 16px;
   font-size: 15px;
   font-weight: bold;
   color: white;
   border: none;
   border-radius: 2px;
   cursor: pointer;
   letter-spacing: 0.5px;
   box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
   transition: 0.15s;
 }

 .btn:hover {
   transform: translateY(-1px);
 }


 /* ==========================================
   ULTRA PREMIUM ANIMATED GALAXY CALENDAR CSS
========================================== */

 /* STAR BACKGROUND */
 .calendar-stars {
   position: absolute;
   left: 0;
   right: 0;
   height: 620px;
   margin-top: 25px;
   pointer-events: none;
   z-index: 0;
   overflow: hidden;
   background:
     radial-gradient(circle at 8% 15%, rgba(255, 255, 255, .9) 1px, transparent 2px),
     radial-gradient(circle at 22% 70%, rgba(255, 255, 255, .7) 1px, transparent 2px),
     radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .85) 1px, transparent 2px),
     radial-gradient(circle at 48% 85%, rgba(255, 255, 255, .7) 1px, transparent 2px),
     radial-gradient(circle at 62% 20%, rgba(255, 255, 255, .95) 1px, transparent 2px),
     radial-gradient(circle at 75% 65%, rgba(255, 255, 255, .8) 1px, transparent 2px),
     radial-gradient(circle at 88% 28%, rgba(255, 255, 255, .9) 1px, transparent 2px),
     radial-gradient(circle at 95% 80%, rgba(255, 255, 255, .8) 1px, transparent 2px);
   animation: twinkle 4s ease-in-out infinite alternate;
   filter: drop-shadow(0 0 6px rgba(255, 255, 255, .6));
 }

 .calendar-stars::before {
   content: "";
   position: absolute;
   top: 20%;
   left: -120px;
   width: 180px;
   height: 2px;
   background: linear-gradient(90deg, transparent, #ffffff, transparent);
   transform: rotate(-18deg);
   animation: shootingStar 8s linear infinite;
   opacity: .9;
 }

 .calendar-stars::after {
   content: "";
   position: absolute;
   top: 55%;
   right: -120px;
   width: 160px;
   height: 2px;
   background: linear-gradient(90deg, transparent, #60a5fa, transparent);
   transform: rotate(-20deg);
   animation: shootingStar2 10s linear infinite;
   opacity: .8;
 }

 @keyframes twinkle {
   0% {
     opacity: .45;
   }

   100% {
     opacity: 1;
   }
 }

 @keyframes shootingStar {
   0% {
     transform: translateX(0) translateY(0) rotate(-18deg);
     opacity: 0;
   }

   10% {
     opacity: 1;
   }

   100% {
     transform: translateX(1600px) translateY(260px) rotate(-18deg);
     opacity: 0;
   }
 }

 @keyframes shootingStar2 {
   0% {
     transform: translateX(0) translateY(0) rotate(-20deg);
     opacity: 0;
   }

   10% {
     opacity: 1;
   }

   100% {
     transform: translateX(-1600px) translateY(220px) rotate(-20deg);
     opacity: 0;
   }
 }

 /* MAIN WRAP */
 .calendar-section {
   position: relative;
   z-index: 2;
   max-width: 1450px;
   margin: 40px auto;
   display: grid;
   grid-template-columns: 2fr 1fr;
   gap: 28px;
   padding: 0 20px;
 }

 /* BOXES */
 .calendar-box,
 .event-box {
   background: linear-gradient(145deg,
       rgba(5, 12, 30, .96),
       rgba(9, 22, 50, .94),
       rgba(15, 32, 70, .93));
   border: 1px solid rgba(255, 255, 255, .08);
   border-radius: 22px;
   padding: 28px;
   box-shadow:
     0 18px 45px rgba(0, 0, 0, .45),
     inset 0 1px 0 rgba(255, 255, 255, .06);
   backdrop-filter: blur(12px);
   color: #fff;
   transition: .3s;
 }

 .calendar-box:hover,
 .event-box:hover {
   transform: translateY(-3px);
   box-shadow:
     0 25px 55px rgba(0, 0, 0, .55),
     0 0 20px rgba(96, 165, 250, .15);
 }

 /* HEADER */
 .calendar-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 22px;
 }

 .calendar-header h2 {
   font-size: 34px;
   font-weight: 800;
   letter-spacing: .5px;
   color: #ffffff;
   text-shadow:
     0 0 10px rgba(96, 165, 250, .45),
     0 0 20px rgba(59, 130, 246, .18);
 }

 /* NAV BUTTONS */
 .calendar-header button {
   border: none;
   background: linear-gradient(135deg, #1d4ed8, #3b82f6);
   color: #fff;
   padding: 11px 18px;
   font-size: 18px;
   font-weight: 800;
   border-radius: 12px;
   cursor: pointer;
   transition: .25s;
   box-shadow: 0 10px 18px rgba(59, 130, 246, .25);
 }

 .calendar-header button:hover {
   transform: translateY(-2px) scale(1.03);
   box-shadow: 0 15px 22px rgba(59, 130, 246, .38);
 }

 /* GRID */
 .calendar-grid {
   display: grid;
   grid-template-columns: repeat(7, 1fr);
   gap: 10px;
 }

 /* DAY HEADER */
 .day-name {
   text-align: center;
   padding: 14px 8px;
   border-radius: 12px;
   font-weight: 800;
   font-size: 15px;
   color: #9ec5ff;
   background: rgba(255, 255, 255, .06);
   border: 1px solid rgba(255, 255, 255, .04);
 }

 /* DAY CELL */
 .day {
   text-align: center;
   padding: 15px 8px;
   border-radius: 14px;
   font-weight: 700;
   font-size: 16px;
   color: #eaf2ff;
   background: rgba(255, 255, 255, .04);
   cursor: pointer;
   transition: .22s;
   border: 1px solid rgba(255, 255, 255, .03);
 }

 .day:hover {
   transform: translateY(-3px);
   background: rgba(59, 130, 246, .22);
   box-shadow: 0 12px 18px rgba(59, 130, 246, .18);
 }

 /* TODAY */
 .today {
   background: linear-gradient(135deg, #2563eb, #60a5fa);
   color: #fff;
   box-shadow:
     0 0 15px rgba(59, 130, 246, .55),
     0 0 30px rgba(59, 130, 246, .22);
 }

 /* EVENT BOX */
 .event-box h3 {
   font-size: 28px;
   margin-bottom: 18px;
   font-weight: 800;
   color: #ffffff;
   text-shadow: 0 0 10px rgba(96, 165, 250, .35);
 }

 .event-box ul {
   list-style: none;
   padding: 0;
   margin: 0;
 }

 .event-box li {
   padding: 15px 16px;
   margin-bottom: 14px;
   border-radius: 14px;
   background: rgba(255, 255, 255, .05);
   border-left: 4px solid #60a5fa;
   font-weight: 700;
   font-size: 16px;
   color: #ffffff;
   transition: .22s;
 }

 .event-box li:hover {
   transform: translateX(4px);
   background: rgba(255, 255, 255, .08);
   box-shadow: 0 10px 16px rgba(0, 0, 0, .18);
 }

 /* MOBILE */
 @media(max-width:950px) {

   .calendar-section {
     grid-template-columns: 1fr;
   }

   .calendar-stars {
     height: 980px;
   }

   .calendar-header h2 {
     font-size: 26px;
   }

   .calendar-grid {
     gap: 8px;
   }

   .day,
   .day-name {
     padding: 12px 5px;
     font-size: 14px;
   }

 }

 /* ==========================================
   EXTRA STAR FIELD INSIDE CALENDAR ONLY
   Add this BELOW your current calendar CSS
========================================== */

 /* Make calendar box hold stars */
 .calendar-box {
   position: relative;
   overflow: hidden;
 }

 /* Stars layer */
 .calendar-box::before {
   content: "";
   position: absolute;
   inset: 0;
   pointer-events: none;
   z-index: 0;
   background:
     radial-gradient(circle at 5% 12%, rgba(255, 255, 255, .95) 1px, transparent 2px),
     radial-gradient(circle at 12% 28%, rgba(255, 255, 255, .75) 1px, transparent 2px),
     radial-gradient(circle at 20% 70%, rgba(255, 255, 255, .9) 1px, transparent 2px),
     radial-gradient(circle at 32% 18%, rgba(255, 255, 255, .8) 1px, transparent 2px),
     radial-gradient(circle at 40% 82%, rgba(255, 255, 255, .95) 1px, transparent 2px),
     radial-gradient(circle at 52% 30%, rgba(255, 255, 255, .7) 1px, transparent 2px),
     radial-gradient(circle at 64% 72%, rgba(255, 255, 255, .85) 1px, transparent 2px),
     radial-gradient(circle at 75% 20%, rgba(255, 255, 255, .95) 1px, transparent 2px),
     radial-gradient(circle at 84% 62%, rgba(255, 255, 255, .75) 1px, transparent 2px),
     radial-gradient(circle at 93% 38%, rgba(255, 255, 255, .9) 1px, transparent 2px),
     radial-gradient(circle at 15% 92%, rgba(255, 255, 255, .75) 1px, transparent 2px),
     radial-gradient(circle at 58% 95%, rgba(255, 255, 255, .9) 1px, transparent 2px);
   opacity: .75;
   animation: calendarTwinkle 3.5s ease-in-out infinite alternate;
 }

 /* Extra tiny stars */
 .calendar-box::after {
   content: "";
   position: absolute;
   inset: 0;
   pointer-events: none;
   z-index: 0;
   background:
     radial-gradient(circle at 10% 45%, rgba(255, 255, 255, .55) 1px, transparent 1.8px),
     radial-gradient(circle at 27% 55%, rgba(255, 255, 255, .45) 1px, transparent 1.8px),
     radial-gradient(circle at 49% 12%, rgba(255, 255, 255, .5) 1px, transparent 1.8px),
     radial-gradient(circle at 66% 48%, rgba(255, 255, 255, .4) 1px, transparent 1.8px),
     radial-gradient(circle at 79% 84%, rgba(255, 255, 255, .5) 1px, transparent 1.8px),
     radial-gradient(circle at 91% 14%, rgba(255, 255, 255, .45) 1px, transparent 1.8px);
   opacity: .6;
   animation: calendarTwinkle2 5s ease-in-out infinite alternate;
 }

 /* Keep content above stars */
 .calendar-box>* {
   position: relative;
   z-index: 2;
 }

 @keyframes calendarTwinkle {
   0% {
     opacity: .35;
     transform: scale(1);
   }

   100% {
     opacity: .9;
     transform: scale(1.02);
   }
 }

 @keyframes calendarTwinkle2 {
   0% {
     opacity: .25;
   }

   100% {
     opacity: .75;
   }
 }

 /* ===================================================
   FULL MAIN INTERFACE GALAXY LOOK
   ADD THIS AT VERY BOTTOM OF style.css
   (keeps your logic same, only visual upgrade)
=================================================== */

 /* BODY GALAXY SPACE */
 body {
   background:
     radial-gradient(circle at 15% 20%, rgba(59, 130, 246, .12), transparent 25%),
     radial-gradient(circle at 80% 10%, rgba(139, 92, 246, .12), transparent 22%),
     radial-gradient(circle at 70% 75%, rgba(14, 165, 233, .10), transparent 28%),
     linear-gradient(135deg, #050816, #091327, #111827, #0b1020);
   background-attachment: fixed;
   min-height: 100vh;
   position: relative;
   overflow-x: hidden;
 }

 /* GLOBAL STARS */
 body::before {
   content: "";
   position: fixed;
   inset: 0;
   pointer-events: none;
   z-index: 0;
   background:
     radial-gradient(circle at 8% 12%, rgba(255, 255, 255, .95) 1px, transparent 2px),
     radial-gradient(circle at 18% 55%, rgba(255, 255, 255, .7) 1px, transparent 2px),
     radial-gradient(circle at 28% 78%, rgba(255, 255, 255, .8) 1px, transparent 2px),
     radial-gradient(circle at 42% 22%, rgba(255, 255, 255, .9) 1px, transparent 2px),
     radial-gradient(circle at 56% 62%, rgba(255, 255, 255, .75) 1px, transparent 2px),
     radial-gradient(circle at 66% 12%, rgba(255, 255, 255, .9) 1px, transparent 2px),
     radial-gradient(circle at 77% 38%, rgba(255, 255, 255, .85) 1px, transparent 2px),
     radial-gradient(circle at 88% 74%, rgba(255, 255, 255, .7) 1px, transparent 2px),
     radial-gradient(circle at 96% 28%, rgba(255, 255, 255, .9) 1px, transparent 2px);
   opacity: .75;
   animation: mainTwinkle 5s ease-in-out infinite alternate;
 }

 /* SHOOTING STAR */
 body::after {
   content: "";
   position: fixed;
   top: 15%;
   left: -220px;
   width: 220px;
   height: 2px;
   background: linear-gradient(90deg, transparent, #ffffff, transparent);
   transform: rotate(-18deg);
   opacity: .8;
   pointer-events: none;
   z-index: 0;
   animation: mainShoot 9s linear infinite;
 }

 @keyframes mainTwinkle {
   0% {
     opacity: .35;
   }

   100% {
     opacity: .9;
   }
 }

 @keyframes mainShoot {
   0% {
     transform: translateX(0) translateY(0) rotate(-18deg);
     opacity: 0;
   }

   10% {
     opacity: 1;
   }

   100% {
     transform: translateX(1800px) translateY(260px) rotate(-18deg);
     opacity: 0;
   }
 }

 /* KEEP ALL CONTENT ABOVE BACKGROUND */
 .header,
 .panel-title,
 .grid,
 .data-section,
 .calendar-section {
   position: relative;
   z-index: 2;
 }

 /* HEADER GLASS */
 .header {
   background: linear-gradient(135deg,
       rgba(8, 18, 40, .92),
       rgba(12, 28, 58, .90));
   backdrop-filter: blur(12px);
   border-bottom: 1px solid rgba(255, 255, 255, .08);
   box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
 }

 .header-text h1 {
   color: #ffffff;
   text-shadow: 0 0 14px rgba(96, 165, 250, .25);
 }

 .header-text p {
   color: #b8d4ff;
 }

 /* PANEL TITLE */
 .panel-title {
   background: rgba(8, 18, 40, .78);
   backdrop-filter: blur(8px);
   border-top: 1px solid rgba(255, 255, 255, .04);
   border-bottom: 1px solid rgba(255, 255, 255, .05);
   color: #ffffff;
   text-shadow: 0 0 10px rgba(96, 165, 250, .25);
 }

 /* BUTTON GRID CARD STYLE */
 .btn {
   border-radius: 14px;
   box-shadow:
     0 14px 28px rgba(0, 0, 0, .35),
     inset 0 1px 0 rgba(255, 255, 255, .08);
   transition: .25s;
   font-weight: 800;
 }

 .btn:hover {
   transform: translateY(-4px) scale(1.02);
   box-shadow:
     0 18px 35px rgba(0, 0, 0, .45),
     0 0 16px rgba(255, 255, 255, .08);
 }

 /* BETTER COLORS */
 .blue {
   background: linear-gradient(135deg, #2563eb, #3b82f6);
 }

 .green {
   background: linear-gradient(135deg, #16a34a, #22c55e);
 }

 .red {
   background: linear-gradient(135deg, #dc2626, #ef4444);
 }

 .purple {
   background: linear-gradient(135deg, #7c3aed, #9333ea);
 }

 .cyan {
   background: linear-gradient(135deg, #0891b2, #06b6d4);
 }

 .orange {
   background: linear-gradient(135deg, #ea580c, #f97316);
 }

 .lime {
   background: linear-gradient(135deg, #65a30d, #84cc16);
 }

 .gray {
   background: linear-gradient(135deg, #4b5563, #6b7280);
 }

 .darkblue {
   background: linear-gradient(135deg, #1d4ed8, #1e40af);
 }

 /* DATA PANEL GLASS */
 .data-section {
   background: rgba(255, 255, 255, .03);
   border: 1px solid rgba(255, 255, 255, .05);
   backdrop-filter: blur(8px);
   padding: 22px 26px;
   border-radius: 18px;
   box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
   margin-top: 20px;
 }

 .data-section h2 {
   color: #ffffff;
   border-left: 5px solid #60a5fa;
   text-shadow: 0 0 10px rgba(96, 165, 250, .18);
 }

 /* TABLE UPGRADE */
 table {
   background: rgba(8, 18, 40, .88);
   color: #fff;
   border-radius: 16px;
   overflow: hidden;
   box-shadow: 0 15px 30px rgba(0, 0, 0, .35);
 }

 th {
   background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
   color: #fff;
 }

 td {
   color: #e5efff;
   border-bottom: 1px solid rgba(255, 255, 255, .05);
 }

 tr:hover td {
   background: rgba(255, 255, 255, .04);
 }

 /* LOGO GLOW */
 .logo-box {
   box-shadow:
     0 0 0 3px rgba(96, 165, 250, .25),
     0 0 18px rgba(59, 130, 246, .22);
 }

 /* MOBILE */
 @media(max-width:900px) {

   .grid {
     grid-template-columns: 1fr;
   }

   .bottom-center {
     grid-column: auto;
     width: 100%;
   }

   .header {
     flex-direction: column;
     text-align: center;
   }

   .header-text h1 {
     font-size: 22px;
   }

 }


 /* ===============================
   OPERATIONS PANEL
=============================== */

 .calendar-section {
   max-width: 1600px;
   margin: 40px auto;
   display: grid;
   grid-template-columns: 320px 1fr 430px;
   gap: 28px;
   padding: 0 25px;
   align-items: start;
 }

 .ops-panel {
   background: rgba(10, 20, 55, .78);
   backdrop-filter: blur(14px);
   border: 1px solid rgba(255, 255, 255, .08);
   border-radius: 22px;
   padding: 28px;
   box-shadow:
     0 20px 60px rgba(0, 0, 0, .35),
     0 0 25px rgba(0, 132, 255, .12);
 }

 .ops-panel h3 {
   font-size: 28px;
   color: #fff;
   margin-bottom: 22px;
   font-weight: 800;
   text-shadow: 0 0 12px rgba(255, 255, 255, .2);
 }

 /* =================================
   OPERATIONS PANEL INPUTS
================================= */

 .ops-panel input,
 .ops-panel select {
   width: 100%;
   height: 58px;
   padding: 0 18px;
   margin-bottom: 16px;
   border-radius: 16px;
   border: 1px solid rgba(255, 255, 255, .08);
   outline: none;
   font-size: 20px;
   font-weight: 700;
   color: #fff;
   background: linear-gradient(145deg,
       rgba(255, 255, 255, .08),
       rgba(255, 255, 255, .03));
   box-shadow:
     inset 0 1px 1px rgba(255, 255, 255, .04),
     0 10px 25px rgba(0, 0, 0, .18);
   transition: .25s ease;
   appearance: none;
   -webkit-appearance: none;
   -moz-appearance: none;
 }

 .ops-panel input::placeholder {
   color: rgba(255, 255, 255, .55);
   font-weight: 600;
 }

 .ops-panel input:focus,
 .ops-panel select:focus {
   border: 1px solid #4ea1ff;
   box-shadow:
     0 0 0 4px rgba(78, 161, 255, .18),
     0 12px 28px rgba(0, 0, 0, .22);
   transform: translateY(-1px);
 }

 /* SELECT ARROW */

 .ops-panel select {
   cursor: pointer;
   background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
   background-repeat: no-repeat;
   background-position: right 18px center;
   padding-right: 48px;
 }

 /* OPTION STYLE */

 .ops-panel select option {
   color: #000;
   font-size: 16px;
   font-weight: 700;
   padding: 12px;
 }

 /* DATE ICON */

 .ops-panel input[type='date'] {
   color: #fff;
   cursor: pointer;
 }

 .ops-panel input[type='date']::-webkit-calendar-picker-indicator {
   filter: invert(1);
   opacity: .85;
   cursor: pointer;
 }

 /* TITLE */

 .ops-panel h3 {
   font-size: 42px;
   font-weight: 900;
   margin-bottom: 24px;
   letter-spacing: .5px;
 }

 /* BUTTONS */

 .ops-panel button {
   width: 100%;
   height: 56px;
   border: none;
   border-radius: 16px;
   font-size: 18px;
   font-weight: 900;
   cursor: pointer;
   margin-top: 8px;
   transition: .25s ease;
 }

 .ops-panel button:first-of-type {
   background: linear-gradient(90deg, #2b6cff, #59a6ff);
   color: #fff;
   box-shadow: 0 10px 24px rgba(43, 108, 255, .28);
 }

 .ops-panel button:last-of-type {
   background: linear-gradient(90deg, #ff3d3d, #d91d1d);
   color: #fff;
   box-shadow: 0 10px 24px rgba(255, 61, 61, .28);
 }

 .ops-panel button:hover {
   transform: translateY(-2px) scale(1.01);
 }

 .ops-panel input::placeholder {
   color: rgba(255, 255, 255, .65);
 }

 .ops-panel select option {
   color: #000;
 }

 .ops-panel button {
   width: 100%;
   padding: 15px;
   margin-top: 10px;
   border: none;
   border-radius: 12px;
   font-size: 15px;
   font-weight: 800;
   cursor: pointer;
   transition: .25s;
 }

 .ops-panel button:first-of-type {
   background: linear-gradient(90deg, #2f6cff, #4e9bff);
   color: #fff;
 }

 .ops-panel button:last-of-type {
   background: linear-gradient(90deg, #ff4d4d, #d91f1f);
   color: #fff;
 }

 .ops-panel button:hover {
   transform: translateY(-3px);
   box-shadow: 0 10px 20px rgba(0, 0, 0, .28);
 }

 /* MOBILE */

 @media(max-width:1300px) {

   .calendar-section {
     grid-template-columns: 1fr;
   }

 }

 /* ==========================
   TOP CREATE BUTTON
========================== */

 .top-create-btn {
   max-width: 1500px;
   margin: 20px auto;
   padding: 0 25px;
 }

 .top-create-btn button {
   padding: 16px 30px;
   font-size: 18px;
   font-weight: 900;
   border: none;
   border-radius: 14px;
   cursor: pointer;
   color: #fff;
   background: linear-gradient(90deg, #2563eb, #60a5fa);
   box-shadow: 0 12px 30px rgba(37, 99, 235, .25);
 }

 /* ==========================
   MODAL
========================== */

 .event-modal {
   position: fixed;
   inset: 0;
   background: rgba(0, 0, 0, .72);
   display: none;
   justify-content: center;
   align-items: center;
   z-index: 9999;
   backdrop-filter: blur(8px);
 }

 .event-popup {
   width: 760px;
   max-width: 95%;
   background: #0a1536;
   padding: 30px;
   border-radius: 22px;
   box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
   border: 1px solid rgba(255, 255, 255, .08);
 }

 .popup-head {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 25px;
 }

 .popup-head h2 {
   color: #fff;
   font-size: 34px;
   font-weight: 900;
 }

 .popup-head span {
   color: #fff;
   font-size: 30px;
   cursor: pointer;
 }

 .event-popup input,
 .event-popup select,
 .event-popup textarea {
   width: 100%;
   padding: 16px;
   margin-bottom: 16px;
   border: none;
   border-radius: 14px;
   background: #17264f;
   color: #fff;
   font-size: 16px;
 }

 .event-popup textarea {
   height: 120px;
   resize: none;
 }

 .row2 {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 14px;
 }

 .row2 input[type="color"] {
   height: 56px;
   padding: 5px;
 }

 .row2 button {
   height: 56px;
   border: none;
   border-radius: 14px;
   font-size: 17px;
   font-weight: 900;
   cursor: pointer;
   background: linear-gradient(90deg, #22c55e, #16a34a);
   color: #fff;
 }

 .event-card {
   cursor: pointer;
   transition: .25s;
 }

 .event-card.selected {
   border: 2px solid #3b82f6 !important;
   box-shadow: 0 0 20px #3b82f6;
   transform: scale(1.02);
 }

 .top-create-btn {
   display: flex;
   gap: 14px;
   margin: 20px 0;
 }

 .top-create-btn button {
   padding: 16px 26px;
   border: none;
   border-radius: 14px;
   font-size: 20px;
   font-weight: 800;
   cursor: pointer;
   color: #fff;
   background: linear-gradient(90deg, #3b82f6, #60a5fa);
   box-shadow: 0 0 20px rgba(59, 130, 246, .35);
   transition: .25s;
 }

 .top-create-btn button:hover {
   transform: translateY(-3px);
 }

 .top-delete-btn {
   background: linear-gradient(90deg, #ff3b3b, #ff1111) !important;
   box-shadow: 0 0 20px rgba(255, 0, 0, .35) !important;
 }


 .action-bar {
   max-width: 1100px;
   margin: 25px auto 20px auto;
   display: flex;
   gap: 18px;
   justify-content: flex-start;
   align-items: center;
   padding: 0 100px;
 }



 .create-main-btn {
   background: linear-gradient(90deg, #3b82f6, #60a5fa);
   box-shadow: 0 0 20px rgba(59, 130, 246, .35);
 }

 .delete-main-btn {
   background: linear-gradient(90deg, #ff3b3b, #ff1111);
   box-shadow: 0 0 20px rgba(255, 0, 0, .35);
 }

 .create-main-btn:hover,
 .delete-main-btn:hover {
   transform: translateY(-3px);
 }



 @media(max-width:1000px) {

   .calendar-section {
     grid-template-columns: 1fr;
   }



 }

 /* ===================================
   FINAL LAYOUT FIX
=================================== */

 /* TOP ACTION BUTTONS */
 .action-bar {
   width: 1100px;
   max-width: 95%;
   margin: 25px auto 18px auto;
   display: flex;
   gap: 18px;
   align-items: center;
   justify-content: flex-start;
 }

 /* BUTTONS */
 .create-main-btn,
 .delete-main-btn {
   border: none;
   padding: 16px 34px;
   border-radius: 16px;
   font-size: 18px;
   font-weight: 900;
   cursor: pointer;
   color: #fff;
   transition: .25s ease;
   min-width: 210px;
 }

 .create-main-btn {
   background: linear-gradient(90deg, #3b82f6, #60a5fa);
   box-shadow: 0 12px 28px rgba(59, 130, 246, .28);
 }

 .delete-main-btn {
   background: linear-gradient(90deg, #ff2d2d, #ff0000);
   box-shadow: 0 12px 28px rgba(255, 0, 0, .28);
 }

 .create-main-btn:hover,
 .delete-main-btn:hover {
   transform: translateY(-3px);
 }

 /* MAIN GRID */
 .calendar-section {
   width: 1200px;
   max-width: 95%;
   margin: 0 auto 40px auto;
   display: grid;
   grid-template-columns: 1fr 1fr;
   /* equal width both sides */
   gap: 28px;
   align-items: stretch;
   /* same height */
 }

 /* LEFT BOX */
 .calendar-box {
   height: 760px;
   min-height: 760px;
   width: 100%;
 }

 /* RIGHT BOX */
 .event-box {
   height: 760px;
   min-height: 760px;
   width: 100%;
   overflow-y: auto;
 }

 /* SCROLLBAR */
 .event-box::-webkit-scrollbar {
   width: 8px;
 }

 .event-box::-webkit-scrollbar-thumb {
   background: #3b82f6;
   border-radius: 20px;
 }

 /* GROUP TITLE */
 .group-title {
   font-size: 24px;
   font-weight: 900;
   margin: 12px 0 14px;
   color: #fff;
 }

 /* EVENT ITEMS */
 .event-box li {
   margin-bottom: 14px;
 }

 /* ===================================
   MOBILE
=================================== */

 @media (max-width:1100px) {

   .action-bar {
     width: 95%;
     flex-wrap: wrap;
     justify-content: center;
   }

   .create-main-btn,
   .delete-main-btn {
     width: 100%;
     min-width: unset;
   }

   .calendar-section {
     width: 95%;
     grid-template-columns: 1fr;
   }

   .calendar-box,
   .event-box {
     height: auto;
     min-height: 650px;
   }

 }


 /* ADD CSS */

 .right-group {
   margin-bottom: 18px;
 }

 .right-drop-btn {
   width: 100%;
   border: none;
   outline: none;
   cursor: pointer;
   padding: 16px 18px;
   border-radius: 16px;
   background: linear-gradient(90deg, #0f1f4d, #14295f);
   color: #fff;
   font-size: 26px;
   font-weight: 900;
   display: flex;
   justify-content: space-between;
   align-items: center;
   box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
 }

 .right-drop-btn:hover {
   transform: translateY(-2px);
 }

 .drop-icon {
   font-size: 18px;
 }

 .right-drop-body {
   display: none;
   padding-top: 12px;
 }

 .right-drop-body.show {
   display: block;
 }

 .right-event-card {
   background: rgba(255, 255, 255, .06);
   padding: 16px;
   border-radius: 16px;
   margin-bottom: 12px;
   cursor: pointer;
   border-left: 4px solid #60a5fa;
 }

 .right-event-title {
   font-size: 20px;
   font-weight: 800;
   color: #fff;
   margin-bottom: 8px;
 }

 .right-event-date {
   font-size: 15px;
   opacity: .85;
   color: #fff;
 }


 /* REPLACE ONLY DELETE MODAL CSS */

 .delete-modal {
   position: fixed;
   inset: 0;
   background: rgba(0, 0, 0, .72);
   backdrop-filter: blur(6px);
   display: none;
   align-items: center;
   justify-content: center;
   z-index: 9999;
   padding: 20px;
 }

 .delete-box {
   width: 760px;
   max-width: 95%;
   max-height: 88vh;
   background: linear-gradient(180deg, #07142f, #081a42);
   border: 1px solid rgba(255, 255, 255, .08);
   border-radius: 26px;
   padding: 26px;
   box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
   display: flex;
   flex-direction: column;
   overflow: hidden;
 }

 .delete-top {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 18px;
   padding-bottom: 14px;
   border-bottom: 1px solid rgba(255, 255, 255, .08);
 }

 .delete-top h2 {
   margin: 0;
   font-size: 34px;
   font-weight: 900;
   color: #fff;
   letter-spacing: .4px;
 }

 .delete-top button {
   width: 42px;
   height: 42px;
   border: none;
   border-radius: 12px;
   background: rgba(255, 255, 255, .08);
   color: #fff;
   font-size: 24px;
   cursor: pointer;
   transition: .2s;
 }

 .delete-top button:hover {
   background: #ef4444;
   transform: scale(1.06);
 }

 .delete-list {
   flex: 1;
   overflow-y: auto;
   padding-right: 8px;
   display: flex;
   flex-direction: column;
   gap: 12px;
 }

 .delete-list::-webkit-scrollbar {
   width: 8px;
 }

 .delete-list::-webkit-scrollbar-thumb {
   background: #3b82f6;
   border-radius: 20px;
 }

 .delete-row {
   display: grid;
   grid-template-columns: 30px 1fr 120px;
   gap: 14px;
   align-items: center;
   padding: 16px 18px;
   border-radius: 18px;
   background: rgba(255, 255, 255, .06);
   border: 1px solid rgba(255, 255, 255, .04);
   cursor: pointer;
   transition: .22s ease;
 }

 .delete-row:hover {
   transform: translateY(-2px);
   background: rgba(59, 130, 246, .14);
   border-color: rgba(59, 130, 246, .25);
 }

 .delete-row input {
   width: 18px;
   height: 18px;
   cursor: pointer;
   accent-color: #3b82f6;
 }

 .delete-row span {
   font-size: 19px;
   font-weight: 800;
   color: #fff;
   line-height: 1.35;
   word-break: break-word;
 }

 .delete-row small {
   font-size: 15px;
   font-weight: 700;
   color: #a9c7ff;
   text-align: right;
 }

 .delete-bottom {
   display: flex;
   justify-content: flex-end;
   gap: 14px;
   margin-top: 20px;
   padding-top: 16px;
   border-top: 1px solid rgba(255, 255, 255, .08);
 }

 .delete-bottom button {
   border: none;
   padding: 14px 22px;
   border-radius: 14px;
   font-size: 16px;
   font-weight: 900;
   cursor: pointer;
   transition: .2s;
   min-width: 150px;
 }

 .delete-bottom button:first-child {
   background: #ffffff;
   color: #111827;
 }

 .delete-bottom button:first-child:hover {
   transform: translateY(-2px);
 }

 .danger-btn {
   background: linear-gradient(90deg, #ff3131, #ff0000);
   color: #fff;
   box-shadow: 0 14px 28px rgba(255, 0, 0, .28);
 }

 .danger-btn:hover {
   transform: translateY(-2px);
 }

 @media(max-width:700px) {

   .delete-box {
     padding: 18px;
     border-radius: 18px;
   }

   .delete-top h2 {
     font-size: 26px;
   }

   .delete-row {
     grid-template-columns: 24px 1fr;
   }

   .delete-row small {
     grid-column: 2;
     text-align: left;
     margin-top: 6px;
   }

   .delete-bottom {
     flex-direction: column;
   }

   .delete-bottom button {
     width: 100%;
   }

 }


 .delete-search {
   width: 100%;
   height: 52px;
   border: none;
   outline: none;
   border-radius: 14px;
   padding: 0 18px;
   font-size: 17px;
   font-weight: 700;
   margin-bottom: 16px;
   background: rgba(255, 255, 255, .08);
   color: #fff;
 }

 .delete-search::placeholder {
   color: rgba(255, 255, 255, .6);
 }

 .edit-main-btn {
   border: none;
   padding: 16px 34px;
   border-radius: 16px;
   font-size: 18px;
   font-weight: 900;
   cursor: pointer;
   color: #fff;
   background: linear-gradient(90deg, #10b981, #059669);
   box-shadow: 0 12px 28px rgba(16, 185, 129, .28);
 }

 /* EDIT POPUP FIX */

 #editEventList .delete-row {
   display: grid;
   grid-template-columns: 1fr 130px;
   gap: 20px;
   align-items: center;
   padding: 18px 20px;
   min-height: 72px;
 }

 #editEventList .delete-row span {
   display: block;
   white-space: normal;
   word-break: break-word;
   overflow-wrap: break-word;
   line-height: 1.35;
   font-size: 22px;
   font-weight: 800;
   color: #fff;
 }

 #editEventList .delete-row small {
   text-align: right;
   font-size: 18px;
   font-weight: 800;
   color: #bcd3ff;
   white-space: nowrap;
 }

 #editEventList {
   overflow-y: auto;
   max-height: 520px;
   padding-right: 8px;
 }

 /* =====================================
EVENT DETAILS POPUP V2 IMPROVEMENT
Replace old popup css with this
===================================== */

 #viewEventModal {
   position: fixed;
   inset: 0;
   background: rgba(0, 0, 0, .72);
   backdrop-filter: blur(10px);
   display: none;
   justify-content: center;
   align-items: center;
   z-index: 9999;
   padding: 22px;
 }

 .event-popup {
   width: 100%;
   max-width: 920px;
   max-height: 90vh;
   overflow-y: auto;
   background: linear-gradient(145deg, #07184a, #08163f);
   border: 1px solid rgba(255, 255, 255, .08);
   border-radius: 28px;
   padding: 34px;
   box-shadow:
     0 30px 70px rgba(0, 0, 0, .55),
     0 0 30px rgba(59, 130, 246, .15);
   color: #fff;
   animation: popupFade .25s ease;
 }

 @keyframes popupFade {
   from {
     opacity: 0;
     transform: translateY(20px) scale(.96);
   }

   to {
     opacity: 1;
     transform: translateY(0) scale(1);
   }
 }

 /* HEADER */
 .popup-head {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 24px;
   padding-bottom: 18px;
   border-bottom: 1px solid rgba(255, 255, 255, .07);
 }

 .popup-head h2 {
   margin: 0;
   font-size: 38px;
   font-weight: 900;
   letter-spacing: .3px;
 }

 .popup-head button {
   width: 52px;
   height: 52px;
   border: none;
   border-radius: 14px;
   background: #213765;
   color: #fff;
   font-size: 28px;
   cursor: pointer;
   transition: .2s ease;
 }

 .popup-head button:hover {
   background: #ef4444;
   transform: scale(1.06);
 }

 /* BODY GRID */
 #eventDetailsBody {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 16px;
   margin-top: 10px;
 }

 /* EACH BOX */
 #eventDetailsBody div {
   background: rgba(255, 255, 255, .04);
   border: 1px solid rgba(255, 255, 255, .03);
   border-radius: 16px;
   padding: 18px 18px;
   font-size: 19px;
   line-height: 1.55;
   word-break: break-word;
   min-height: 84px;
   display: flex;
   flex-direction: column;
   justify-content: flex-start;
 }

 /* BIG DESCRIPTION FULL WIDTH */
 #eventDetailsBody div:nth-child(7),
 #eventDetailsBody div:nth-child(8) {
   grid-column: 1 / -1;
   min-height: auto;
 }

 /* LABEL */
 #eventDetailsBody b {
   display: block;
   font-size: 18px;
   margin-bottom: 6px;
   font-weight: 900;
   color: #78b6ff;
 }

 /* COLOR BOX */
 .color-chip {
   display: inline-block;
   width: 18px;
   height: 18px;
   border-radius: 50%;
   margin-right: 8px;
   vertical-align: middle;
   border: 2px solid rgba(255, 255, 255, .25);
 }

 /* ACTIONS */
 .popup-actions {
   display: flex;
   justify-content: flex-end;
   gap: 14px;
   margin-top: 28px;
   padding-top: 20px;
   border-top: 1px solid rgba(255, 255, 255, .07);
 }

 .popup-actions button {
   border: none;
   padding: 15px 28px;
   border-radius: 14px;
   font-size: 17px;
   font-weight: 800;
   cursor: pointer;
   color: #fff;
   transition: .2s ease;
   min-width: 145px;
 }

 .popup-actions button:nth-child(1) {
   background: linear-gradient(90deg, #10b981, #22c55e);
 }

 .popup-actions button:nth-child(2) {
   background: linear-gradient(90deg, #ef4444, #dc2626);
 }

 .popup-actions button:nth-child(3) {
   background: #334155;
 }

 .popup-actions button:hover {
   transform: translateY(-2px);
   filter: brightness(1.08);
 }

 /* SCROLLBAR */
 .event-popup::-webkit-scrollbar {
   width: 8px;
 }

 .event-popup::-webkit-scrollbar-thumb {
   background: #3b82f6;
   border-radius: 20px;
 }

 /* MOBILE */
 @media(max-width:768px) {

   .event-popup {
     padding: 22px;
     max-width: 96%;
   }

   .popup-head h2 {
     font-size: 28px;
   }

   #eventDetailsBody {
     grid-template-columns: 1fr;
   }

   #eventDetailsBody div:nth-child(7),
   #eventDetailsBody div:nth-child(8) {
     grid-column: auto;
   }

   .popup-actions {
     flex-direction: column;
   }

   .popup-actions button {
     width: 100%;
   }

 }

 #notifyInterval {
   height: 54px;
   padding: 0 18px;
   border: none;
   outline: none;
   border-radius: 14px;
   font-size: 16px;
   font-weight: 800;
   background: #0f2b63;
   color: #fff;
   cursor: pointer;
   min-width: 240px;
   box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
 }

 #dayTooltip {
   position: fixed;
   display: none;
   z-index: 9999;
   min-width: 260px;
   max-width: 340px;
   padding: 14px 16px;
   border-radius: 14px;
   background: #0b1f4d;
   color: #fff;
   font-size: 14px;
   font-weight: 700;
   box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
   border: 1px solid rgba(255, 255, 255, .08);
   pointer-events: none;
   line-height: 1.5;
 }

 .tooltip-title {
   font-size: 16px;
   font-weight: 900;
   margin-bottom: 10px;
   color: #7db5ff;
 }

 .tooltip-row {
   padding: 6px 0;
   border-bottom: 1px solid rgba(255, 255, 255, .06);
 }

 .tooltip-row:last-child {
   border-bottom: none;
 }