/* From Uiverse.io by chase2k25 */ 
.loader {
  width: 84px;
  aspect-ratio: 1;
  background:
    linear-gradient(#ff4500 0 0) left/50% 100% no-repeat,
    conic-gradient(
      from -90deg at 32px 9.47px,
      #fff8dc 135deg,
      #8b0000 0 270deg,
      #ffa500 0
    );
  background-blend-mode: multiply;
  -webkit-mask: linear-gradient(
      to bottom right,
      #0000 8px,
      #000 0 52px,
      #0000 0
    ),
    conic-gradient(from -90deg at right 6px bottom 6px, #000 90deg, #0000 0);
  mask: linear-gradient(to bottom right, #0000 8px, #000 0 52px, #0000 0),
    conic-gradient(from -90deg at right 6px bottom 6px, #000 90deg, #0000 0);
  background-size: 50% 50%;
  -webkit-mask-size: 50% 50%;
  mask-size: 50% 50%;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  animation: l9 1.8s infinite cubic-bezier(0.5, 0.2, 0.5, 1);
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.6);
  transform: perspective(1000px) rotateY(15deg);
}

@keyframes l9 {
  0% {
    background-position:
      0% 0%,
      0 0;
    transform: perspective(1000px) rotateY(15deg) scale(1);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.6);
  }
  25% {
    background-position:
      100% 0%,
      0 0;
  }
  50% {
    background-position:
      100% 100%,
      0 0;
    transform: perspective(1000px) rotateY(15deg) scale(1.08);
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.8);
  }
  75% {
    background-position:
      0% 100%,
      0 0;
  }
  100% {
    background-position:
      0% 0%,
      0 0;
    transform: perspective(1000px) rotateY(15deg) scale(1);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.6);
  }
}


/* Login Styles */

/* Password toggle button styling */
        .password-wrapper {
            position: relative;
        }
        .password-toggle {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #6c757d;
            cursor: pointer;
            padding: 5px;
            z-index: 10;
        }
        .password-toggle:hover {
            color: #495057;
        }
        .password-toggle:focus {
            outline: none;
            box-shadow: none;
        }
		
		.login-card {
            max-width: 400px;
            width: 100%;
        }


/* Admin-Portal Styles */

/* Equal height cards for both sections */
        .card-equal {
            height: 100%;
            min-height: 500px;
        }
        
        /* Auto-hide alert animation */
        .alert-autohide {
            animation: fadeOut 0.5s ease-in-out 4.5s forwards;
        }
        
        @keyframes fadeOut {
            to {
                opacity: 0;
                visibility: hidden;
            }
        }
        
        /* TinyMCE container styling */
        .tox-tinymce {
            border-radius: 5px !important;
        }
		
/* Bulletin Styles */

/* .archive-month {
            border-left: 4px solid #0d6efd;
            padding-left: 20px;
            margin-bottom: 50px;
        }
        
        .post-content {
            line-height: 1.8;
            color: #333;
            /* ✅ Scroll bar for long content *
            max-height: 400px;
            overflow-y: auto;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 5px;
            border: 1px solid #dee2e6;
        }
        
        /* Custom scrollbar styling (Webkit browsers) *
        .post-content::-webkit-scrollbar {
            width: 8px;
        }
        
        .post-content::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }
        
        .post-content::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 4px;
        }
        
        .post-content::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
        
        /* Firefox scrollbar styling *
        .post-content {
            scrollbar-width: thin;
            scrollbar-color: #888 #f1f1f1;
        }
        
        .post-card {
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        
        .post-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        } */
		
		
		
		/* Two Panel View */
		
		/* Main content area */
        .post-content {
            line-height: 1.8;
            color: #333;
            max-height: 300px;
            overflow-y: auto;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 5px;
            border: 1px solid #dee2e6;
        }
        
        .post-content::-webkit-scrollbar {
            width: 6px;
        }
        
        .post-content::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }
        
        .post-content::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 4px;
        }
		
		.post-content::-webkit-scrollbar-thumb:hover {
			background: #555;
		}
        
        .post-card {
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            margin-bottom: 20px;
			border: 1px solid #dee2e6;
			border-radius: 8px;
			box-shadow: 0 2px 4px rgba(0,0,0,0.08);
        }
        
        .post-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        
        /* Archive sidebar styling */
        .archive-sidebar {
            position: sticky;
            top: 0;
            max-height: 100vh;
            overflow-y: auto;
			margin-bottom: 20px;
			/* padding-top: 0; /* Remove extra top padding */ */
			/* margin-top: 0; /* Ensure no top margin */ */
        }
		
		/* Ensure the card inside sidebar has no top gap */
		.archive-sidebar .card {
			border: 1px solid #dee2e6;
			border-radius: 8px;
			box-shadow: 0 2px 4px rgba(0,0,0,0.08);
			transition: box-shadow 0.2s ease;
		}
		
		.archive-sidebar .card:hover {
			box-shadow: 0 4px 12px rgba(0,0,0,0.12);
		}
		
		/* Archive header - softer, matches card header style */
		.archive-sidebar .card-header {
			background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
			color: white;
			border-bottom: 1px solid #dee2e6;
			padding: 12px 15px;
			border-radius: 8px 8px 0 0 !important;
		}

		.archive-sidebar .card-header h5 {
			font-size: 1.1rem;
			font-weight: 600;
		}
		
		.archive-sidebar .card-body {
			padding: 12px; /* Match post-card body padding */
		}

        
        .archive-month {
            margin-bottom: 15px;
			border: 1px solid #e9ecef;
			border-radius: 6px;
			background-color: #fff;
			overflow: hidden;
        }
        
        .archive-month-header {
            font-weight: 600;
			color: #0d6efd;
			cursor: pointer;
			padding: 10px 15px;
			background-color: #f8f9fa;
			border-bottom: 1px solid #e9ecef;
			display: flex;
			align-items: center;
			justify-content: space-between;
			transition: background-color 0.2s;
			font-size: 0.95rem;
        }
        
        .archive-month-header:hover {
            background-color: #d0e3ff;
			color: #084298;
        }
        
        .archive-month-header i {
            transition: transform 0.2s;
			font-size: 0.9rem;
        }
        
        .archive-month-header.collapsed i {
            transform: rotate(-90deg);
        }
		
		.archive-month-header .badge {
			font-size: 0.75rem;
			padding: 4px 8px;
		}
        
        .archive-posts-list {
            list-style: none;
            padding: 0;
			margin: 0;
        }
        
        .archive-post-item {
            padding: 10px 15px;
			margin: 4px 0;
			border-radius: 5px;
			cursor: pointer;
			transition: all 0.2s ease;
			font-size: 0.9rem;
			color: #495057;
			border-left: 3px solid transparent;
			display: flex;
			align-items: center;
			gap: 10px;
        }
        
        .archive-post-item:hover {
            background-color: #f8f9fa;
            color: #0d6efd;
			border-left-color: #0d6efd;
			padding-left: 18px; /* Subtle slide effect */
        }
		
		.archive-post-item i {
			flex-shrink: 0; /* Prevent icon from shrinking */
			font-size: 0.85rem;
			opacity: 0.8;
		}

		.archive-post-item:hover i {
			opacity: 1;
		}
        
        .archive-post-item.active {
            background-color: #0d6efd;
            color: white;
			border-left-color: #0a58ca;
        }
		
		.archive-post-item.active i {
			color: white;
		}
        
        /* Modal styling */
        .modal-body-content {
            line-height: 1.8;
            color: #333;
            max-height: 70vh;
            overflow-y: auto;
			padding: 10px 5px;
        }
		
		.modal-body-content::-webkit-scrollbar {
			width: 6px;
		}
		.modal-body-content::-webkit-scrollbar-track {
			background: #f1f1f1;
			border-radius: 4px;
		}
		.modal-body-content::-webkit-scrollbar-thumb {
			background: #888;
			border-radius: 4px;
		}
        
        .current-month-badge {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
			color: white;
			padding: 6px 14px;
			border-radius: 20px;
			font-size: 0.9rem;
			font-weight: 600;
			box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
        }
        
        /* Responsive adjustments */
        @media (max-width: 991px) {
            .archive-sidebar {
                position: relative;
                top: 0;
                max-height: none;
                margin-top: 20px;
            }
			
			/* On mobile, make archive card match post cards exactly */
			.archive-sidebar .card {
				margin-bottom: 20px;
			}
        }
		
		/* ===== SUBTLE ANIMATIONS ===== */
		@keyframes fadeIn {
			from { opacity: 0; transform: translateY(10px); }
			to { opacity: 1; transform: translateY(0); }
		}
		
		.archive-month {
			animation: fadeIn 0.3s ease-out forwards;
		}

		.archive-month:nth-child(2) { animation-delay: 0.05s; }
		.archive-month:nth-child(3) { animation-delay: 0.1s; }
		.archive-month:nth-child(4) { animation-delay: 0.15s; }
		.archive-month:nth-child(5) { animation-delay: 0.2s; }
		
		/* Align both columns to top using Flexbox */
		@media (min-width: 992px) {
			.row {
				display: flex;
				align-items: flex-start; /* Force top alignment */
			}
			
			.col-lg-8, .col-lg-4 {
				display: flex;
				flex-direction: column;
			}
		}

		/* Optional: Add subtle shadow to distinguish sidebar */
		.archive-sidebar .card {
			box-shadow: 0 2px 10px rgba(0,0,0,0.08);
		}
		
		.container .row.align-items-start {
			align-items: flex-start !important;
		}
		
/* About		 */


    ul.custom-list {
            list-style-type: none; /* Remove default bullets */
            padding-left: 0; /* Remove padding */
        }

        ul.custom-list li {
            position: relative; /* Positioning for absolute icon */
            padding-left: 30px; /* Space for the icon */
        }

        ul.custom-list li:before {
            content: "\f30b"; /* Unicode for the Font Awesome check icon */
            font-family: "Font Awesome 5 Free"; /* Font Awesome font */
            font-weight: 600; /* Solid style */
            position: absolute; /* Absolute position for the icon */
            left: 0; /* Align left */
            top: 0; /* Align to top */
            color: #e96308; /* Icon color, change as needed */
        }  


/* Social Widgets		 */

/* --- SOCIAL WIDGET STYLES --- */
        .social-widget {
            position: fixed;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 1000;
            padding: 10px 0;
            align-items: flex-end; 
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: 60px;
            height: 60px;
            background-color: white;
            color: #333;
            text-decoration: none;
            border-radius: 50px 0 0 50px; 
            box-shadow: -2px 2px 10px rgba(0,0,0,0.1);
            position: relative;
            border: 1px solid #eee;
            border-right: none;
            transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                        background-color 0.3s ease, 
                        box-shadow 0.3s ease,
                        z-index 0s;
            overflow: hidden;
            white-space: nowrap;
            cursor: pointer;
        }

        .social-link .icon-box {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            flex-shrink: 0;
            z-index: 2;
        }

        .social-link i {
            font-size: 24px;
            transition: color 0.3s ease;
        }

        .social-link .label {
            opacity: 0;
            font-size: 15px;
            font-weight: 700;
            color: white;
            white-space: nowrap;
            margin-left: 15px;
            transform: translateX(-10px);
            transition: all 0.3s ease;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
            visibility: hidden;
        }

        /* --- DYNAMIC ACTIVE STATE --- */
        .social-link.active-slide {
            width: 160px; 
            z-index: 1001;
            box-shadow: -5px 5px 15px rgba(0,0,0,0.2);
        }

        .social-link.active-slide i {
            color: white;
        }

        .social-link.active-slide .label {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }

        /* Brand Colors */
        .social-link.active-slide.fb { background-color: #1877F2; }
        .social-link.active-slide.tw { background-color: #1DA1F2; }
        .social-link.active-slide.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
        .social-link.active-slide.li { background-color: #0077b5; }
        .social-link.active-slide.git { background-color: #333; }
        .social-link.active-slide.top { background-color: #28a745; }
		
		/* --- TOOLTIP STYLES --- */
        .social-link::before {
            content: attr(data-tooltip);
            position: absolute;
            right: 100%;
            top: 50%;
            transform: translateY(-50%) translateX(10px);
            background-color: #333;
            color: #fff;
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            pointer-events: none;
            box-shadow: -2px 2px 5px rgba(0,0,0,0.2);
            z-index: 1002;
        }

        .social-link::after {
            content: '';
            position: absolute;
            right: 100%;
            top: 50%;
            transform: translateY(-50%) translateX(2px);
            border-width: 6px;
            border-style: solid;
            border-color: transparent transparent transparent #333;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1002;
        }

        .social-link.active-slide::before {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(-10px);
        }

        .social-link.active-slide::after {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(-2px);
        }
		
		.social-widget {
            animation: slideInFromRight 0.8s ease-out forwards;
        }
		
		/* --- MEDIA QUERIES --- */
        @media (max-width: 768px) {
            .social-link {
                width: 50px;
                height: 50px;
            }
            .social-link .icon-box {
                width: 50px;
                height: 50px;
            }
            .social-link.active-slide {
                width: 140px;
            }
            .social-link .label {
                font-size: 13px;
                margin-left: 12px;
            }
        }

        @media (max-width: 480px) {
            .social-widget {
                padding: 5px 0;
            }
            .social-link {
                width: 45px;
                height: 45px;
                border-radius: 30px 0 0 30px;
            }
            .social-link .icon-box {
                width: 45px;
                height: 45px;
            }
            .social-link.active-slide {
                width: 120px;
            }
            .social-link .label {
                font-size: 12px;
                margin-left: 10px;
            }
            .social-link::before {
                font-size: 12px;
                padding: 6px 10px;
            }
        }

		
		
		