﻿body {
    background: #f4f6f9;
    font-family: Segoe UI,sans-serif;
}

.sidebar {
    width: 240px;
    min-height: 100vh;
    background: #1f2937;
}

    .sidebar h3 {
        color: #fff;
    }

    .sidebar a {
        display: block;
        color: #d1d5db;
        text-decoration: none;
        padding: 15px 25px;
        transition: .3s;
    }

        .sidebar a:hover {
            background: #2563eb;
            color: #fff;
        }

    .sidebar i {
        margin-right: 10px;
    }

.main-content {
    flex: 1;
    padding: 25px;
}

.card {
    border: none;
    border-radius: 15px;
    color: #fff;
    text-align: center;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
}

.card1 {
    background: #3b82f6;
}

.card2 {
    background: #10b981;
}

.card3 {
    background: #f59e0b;
}

.card4 {
    background: #ef4444;
}

.table {
    color: #333;
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
}







.fortext h5 , h2{
    color: white;
}





#stateChart {
    width: 100% !important;
    height: 480px !important;
}

.card {
    border-radius: 18px;

}

.card-header {
    font-size: 20px;
    font-weight: 600;
}

canvas {
    cursor: pointer;
}





/* Equal Height Cards */

.dashboard-card {
    height: 700px;
    border-radius: 15px;
}


/* Chart */

#stateChart {
    width: 100% !important;
    height: 600px !important;
}


/* Scroll Area */

.feedback-scroll {
    height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}


    /* Scrollbar */

    .feedback-scroll::-webkit-scrollbar {
        width: 8px;
    }

    .feedback-scroll::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 20px;
    }

    .feedback-scroll::-webkit-scrollbar-thumb {
        background: #198754;
        border-radius: 20px;
    }


/* Feedback Card */

.feedback-card {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
    background: #fff;
    border-radius: 15px;
    padding: 18px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    border-left: 5px solid #198754;
    transition: .3s;
}


    .feedback-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,.15);
    }


/* Image */

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #dff5e8;
}


/* Content */

.feedback-content {
    flex: 1;
}


    .feedback-content h5 {
        margin: 8px 0 2px;
        color: #0d6efd;
        font-weight: 700;
    }


    .feedback-content span {
        display: block;
        color: #198754;
        font-weight: 600;
    }


    .feedback-content small {
        color: #777;
    }


.feedback-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}


.stars {
    color: #ffc107;
    font-size: 20px;
}


table thead th {
    text-align: center !important;
    vertical-align: middle !important;
}










/* Dashboard Cards */
.fortext .col-md-3 {
    display: flex;
}

.fortext .card {
    width: 100%;
    min-height: 220px;
    border: none;
    border-radius: 18px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    transition: .3s ease;
}

    .fortext .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 35px rgba(0,0,0,.18);
    }

    .fortext .card i {
        font-size: 42px;
        margin-bottom: 18px;
        background: rgba(255,255,255,.18);
        width: 75px;
        height: 75px;
        line-height: 75px;
        border-radius: 50%;
    }

    .fortext .card h5 {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.5;
        min-height: 52px; /* Same height for heading */
        margin-bottom: 15px;
    }

    .fortext .card h2 {
        font-size: 38px;
        font-weight: 700;
        margin: 0;
    }

/* Card Colors */
.card1 {
    background: linear-gradient(135deg,#0d6efd,#4da3ff);
}

.card2 {
    background: linear-gradient(135deg,#198754,#4cc38a);
}

.card3 {
    background: linear-gradient(135deg,#fd7e14,#ffb347);
}

.card4 {
    background: linear-gradient(135deg,#6f42c1,#9b6bff);
}

/* Responsive */
@media(max-width:768px) {

    .fortext .card {
        min-height: 190px;
        margin-bottom: 15px;
    }

        .fortext .card h2 {
            font-size: 32px;
        }
}