:root {
    --primary-color: #0a0e13;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --whatsapp-color: #25D366;
    --cause-list-color: #9135b6;
    --case-status-color: #1e91dd;
    --court-display-color: #e67615;
    --live-streaming-color: #e72222;
    --website-color: #1476b8;
    --district-websites-color: #919191;
    --text-color: #000000;
    --text-light: #808080;
    --background-color: #00163d;
    --card-shadow: 0 10px 20px rgba(0,0,0,0.1);
    --fc-button-bg-color: var(--primary-color);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    inset: 0;
    background: rgba(3, 28, 50);
    /* background-image: url('../images/splash.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat; */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

/* .splash-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 28, 50, 1);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
} */
.splash-screen.fade-out {
    opacity: 0;
}
.splash-content {
    text-align: center;
    color: white;
    padding: 2rem;
    position: relative;
    z-index: 1;
}
.splash-logo {
    width: 180px;
    height: 180px;
    margin-bottom: 1.5rem;
}
.splash-footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    padding: 1rem;
}
.page-heading{
    color:white;
}
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    background-color: var(--background-color);
}

.app-header {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.sidemenu{
    background-color: var(--background-color);
    color:white;
}
:root{
    --secondary-header-bg: rgb(255, 255, 255);
}
/* Secondary Header */
.secondary-header {
    background-image: url('../images/secondary-bar.webp');
    background-size: auto 100%;
    background-position: center center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.1rem 0;
    top: 80px; /* Adjust based on main header height */
    z-index: 999;
}
.avatar-image{
    width: 45px;
    background: transparent;
}
.secondary-header-content {
    display: flex;
    align-items: center;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.welcome-text {
    line-height: 1.2;
    font-size: 0.85rem;
}
.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
    margin: 0 auto;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.logo {
    height: 65px;
    width: 60px;
    border-radius: 8px;
    /* object-fit: contain; */
}

.header-text h1 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
}

.header-text p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
    padding: 0.5rem;
}

.app-main {
    flex: 1;
    padding: 0 0 3rem;
}

.banner-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.banner-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.3), transparent);
    pointer-events: none;
}

.banner-image {
    width: 100%;
    display: block;
    object-fit: cover;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 1.2rem 0.8rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.feature-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card h3 {
    margin: 0 0 0.3rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.1;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.live-badge {
    animation: pulse 2s infinite;
}

/* Specific card styles */
.cause-list::before { background: var(--cause-list-color); }
.cause-list .feature-icon { background: var(--cause-list-color); }

.case-status::before { background: var(--case-status-color); }
.case-status .feature-icon { background: var(--case-status-color); }

.court-display::before { background: var(--court-display-color); }
.court-display .feature-icon { background: var(--court-display-color); }

.live-streaming::before { background: var(--live-streaming-color); }
.live-streaming .feature-icon { background: var(--live-streaming-color); }

.website::before { background: var(--website-color); }
.website .feature-icon { background: var(--website-color); }

.whatsapp::before { background: var(--whatsapp-color); }
.whatsapp .feature-icon { background: var(--whatsapp-color); }

.district-websites::before { background: var(--district-websites-color); }
.district-websites .feature-icon { background: var(--district-websites-color); }

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.8rem;
    /* padding: 0.5rem; */
    transition: all 0.3s ease;
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.nav-item.active {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.nav-item span {
    font-size: 0.7rem;
}

/* Footer */
.app-footer {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    /* opacity: 0.8; */
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: all 0.3s;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    /* opacity: 0.7; */
    margin-top: 1.5rem;
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

.menu-link {
  text-decoration: none;
  color: rgb(236, 236, 236);
  border-radius: 4px;
  transition: background-color 0.2s ease;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.menu-link:hover {
  color: #ffffff; /* Bootstrap 5 primary color */
  font-weight: bold;
}

.fc .fc-toolbar-title {
  font-size: 1.2em;
}
.fc-scrollgrid a {
    color: var(--primary-color);
    text-decoration: none;
}

.fc .fc-daygrid-body-natural .fc-daygrid-day-events {
    margin-bottom: 0px;
}
.fc-event-title-container{
    cursor: pointer;
}
.fc .fc-toolbar.fc-header-toolbar{
    margin-bottom: 0.5rem;
}
.fc{
    font-size: 0.85rem;
}
body{
    background-color: lightgray;
}
.settings-card {
    max-width: 480px;
    margin: 40px auto;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #fff;
    padding: 1.5rem;
}
.nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}
.nav-tabs .nav-item {
  flex: 0 0 auto;
}
.nav-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: 500;
}
.nav-tabs .nav-link.active {
    color: #4b2aad;
    border-bottom: 2px solid #4b2aad;
    background-color: transparent;
}
.notice-link{
    color: #000000;
    text-decoration: none;
    font-size: 0.9em;
}
.notice-link:hover{
    text-decoration: underline;
}
.section-title{
    font-weight: 600;
    margin-bottom: 0.5rem;
    color:white;
}
.notice-site-link{
    color:black;
}
.notice-site-link:hover{
    color: #0d6efd; /* Bootstrap 5 highlight (primary) color */
}
/* Judge Profile - Minimal CSS */