/* General Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #2A004E, #121212);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, #500073, #2A004E);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.header h1 {
    font-size: 24px;
    color: #ffffff;
    margin: 0;
}

.header p {
    font-size: 14px;
    color: #CCCCCC;
    margin: 0;
}

.header .menu-icons {
    display: flex;
    gap: 20px;
}

.header .menu-icons a {
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.header .menu-icons a:hover {
    color: #FFC0CB;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    overflow-y: auto;
}

/* KPI Cards */
.kpi-cards {
    grid-column: span 3;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.kpi-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05); /* Subtle Transparency for Dark Mode */
    backdrop-filter: blur(10px); /* Glassmorphism Effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
}

.kpi-card i {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: #FFC0CB;
}

.kpi-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
    color: #FFF;
}

.kpi-card p {
    font-size: 18px;
    font-weight: bold;
    color: #FFC0CB;
}

/* Checklist Section */
.checklist-container {
    grid-column: span 3;
    background: rgba(255, 255, 255, 0.05); /* Subtle Transparency for Dark Mode */
    backdrop-filter: blur(10px); /* Glassmorphism Effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); /* Glassmorphism Effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    max-height: 300px;
    overflow-y: auto;
    min-height: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.checklist-container h3 {
    font-size: 18px;
    color: #2A004E;
    margin-bottom: 15px;
}




.checklist-table th,
.checklist-table td {
    
    padding: 8px;
    text-align: center;
    
    
}

.checklist-table th {
    background-color: #500073;
    color: #ffffff;
}

.checklist-table td {
    background: rgba(255, 255, 255, 0.08); /* Subtle Transparency for Dark Mode */
   /* Glassmorphism Effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.checklist-table input[type="checkbox"] {
    accent-color: #500073;
}

/* Three Cards in a Row */
.three-cards {
    grid-column: span 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three cards side by side */
    gap: 20px;
}

.three-cards .card {
    background: rgba(255, 255, 255, 0.05); /* Subtle Transparency for Dark Mode */
    backdrop-filter: blur(10px); /* Glassmorphism Effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.three-cards h3 {
    font-size: 18px;
    color: #f7f7f7;
    margin-bottom: 10px;
}

.three-cards p {
    font-size: 24px;
    font-weight: bold;
    color: #500073;
}

/* Calendar Styling */
.calendar table, table {
    width: 100%;
    border-collapse: collapse;
}

.calendar th,
.calendar td , .table td{
    padding: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calendar th {
    background-color: #500073;
    color: #ffffff;
}

.calendar td.today {
    background-color: #500073;
    color: #ffffff;
    font-weight: bold;
}

/* Analog Clock Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.clock {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dde1e7;
    height: 250px;
    width: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); /* Subtle Transparency for Dark Mode */
    border-radius: 50%;
    box-shadow: -3px -3px 7px #ffffff1a, 3px 3px 5px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}
.clock:before {
    position: absolute;
    content: '';
    height: 220px;
    width: 220px;
    background: #e1dde7;
    border-radius: 50%;
    box-shadow: inset -3px -3px 7px #ffffff73, inset 3px 3px 5px rgba(94, 104, 121, 0.288);
}
.clock:after {
    position: absolute;
    content: '';
    height: 120px;
    width: 120px;
    background: rgba(255, 255, 255, 0.05); /* Subtle Transparency for Dark Mode */
    border-radius: 50%;
    box-shadow: -1px -1px 5px #ffffff73, 1px 1px 3px rgba(94, 104, 121, 0.288);
}
.clock .center-nut {
    height: 15px;
    width: 15px;
    background: #404040;
    border-radius: 50%;
    z-index: 2;
    position: absolute;
}
.clock .center-nut2 {
    height: 9px;
    width: 9px;
    background: #3498db;
    border-radius: 50%;
    z-index: 15;
    position: absolute;
}
.indicators div {
    position: absolute;
    width: 2px;
    height: 5px;
    background: #404040;
}
.indicators div:nth-child(1) {
    transform: rotate(30deg) translateY(-100px);
}
.indicators div:nth-child(2) {
    transform: rotate(60deg) translateY(-100px);
}
.indicators div:nth-child(3) {
    background: #3498db;
    transform: rotate(90deg) translateY(-100px);
}
.indicators div:nth-child(4) {
    transform: rotate(120deg) translateY(-100px);
}
.indicators div:nth-child(5) {
    transform: rotate(150deg) translateY(-100px);
}
.indicators div:nth-child(6) {
    background: #3498db;
    transform: rotate(180deg) translateY(-100px);
}
.indicators div:nth-child(7) {
    transform: rotate(210deg) translateY(-100px);
}
.indicators div:nth-child(8) {
    transform: rotate(240deg) translateY(-100px);
}
.indicators div:nth-child(9) {
    background: #3498db;
    transform: rotate(270deg) translateY(-100px);
}
.indicators div:nth-child(10) {
    transform: rotate(300deg) translateY(-100px);
}
.indicators div:nth-child(11) {
    transform: rotate(330deg) translateY(-100px);
}
.indicators div:nth-child(12) {
    background: #3498db;
    transform: rotate(360deg) translateY(-100px);
}
.sec-hand, .min-hand, .hr-hand {
    position: absolute;
}
.sec-hand, .sec {
    height: 180px;
    width: 180px;
    z-index: 6;
}
.min-hand, .min {
    height: 140px;
    width: 140px;
    z-index: 5;
}
.hr-hand, .hr {
    height: 110px;
    width: 110px;
    z-index: 4;
}
.sec, .min, .hr {
    display: flex;
    justify-content: center;
    position: absolute;
}
.sec:before {
    position: absolute;
    content: '';
    height: 110px;
    width: 3px;
    background: #3498db;
}
.sec:after {
    position: absolute;
    content: '';
    height: 35px;
    width: 7px;
    background: #3498db;
    top: 105px;
    border-radius: 5px;
}
.min:before {
    position: absolute;
    content: '';
    width: 1px;
    top: -15px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-bottom: 60px solid #e95949;
}
.min:after {
    position: absolute;
    content: '';
    width: 3px;
    top: 40px;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-top: 30px solid #e95949;
}
.hr:before {
    position: absolute;
    content: '';
    width: 1px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-bottom: 35px solid #303030;
}
.hr:after {
    position: absolute;
    content: '';
    width: 3px;
    top: 34px;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-top: 25px solid #303030;
}

/* User Details Card */
.user-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-details div {
    font-size: 14px;
    color: #2A004E;
}

/* Charts */
.charts {
    grid-column: span 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 charts per row */
    gap: 20px;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05); /* Subtle Transparency for Dark Mode */
    backdrop-filter: blur(10px); /* Glassmorphism Effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

canvas {
    max-height: 250px;
}

/* Card Styling */
.user-card {
    background: rgba(255, 255, 255, 0.01); /* Subtle Transparency for Dark Mode */
    backdrop-filter: blur(10px); /* Glassmorphism Effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 450px;
    padding: 20px;
    text-align: center;
    position: relative;
}

/* Logo Styling */
.logo {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #500073, #2A004E);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Table Styling */
.user-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.user-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-table tr:last-child td {
    border-bottom: none;
}

.user-table td:first-child {
    font-weight: bold;
    color: #d4d4d4;
    text-align: left;
}

.user-table td:last-child {
    text-align: right;
    color: #949494;
}

/* Responsive Design */
@media (max-width: 768px) {
    .kpi-cards {
        flex-direction: column;
    }

    .three-cards {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }

    .charts {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }

    .user-card {
        width: 90%;
        padding: 15px;
    }
}