/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

:root {
	--cnvs-themecolor: #d70c05e1;
	--cnvs-themecolor-rgb: 215, 12, 5;
	--cnvs-body-font: "Inter", sans-serif;
	--cnvs-primary-font: "Inter", sans-serif;
	--cnvs-secondary-font: "Playfair Display", serif;
}



  body {
        background: #f8f9fa;
        font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
        font-size: 16px;
    }

    /* Sidebar */
    .sidebar {
        min-height: 100vh;
        background: #fff;
        border-right: 1px solid #eee;
        position: fixed;
        left: 0;
        top: 0;
        width: 260px;
        z-index: 1050;
        box-shadow: 2px 0 8px rgba(0,0,0,0.05);
    }
    .sidebar .brand {
        font-size: 1.8rem;
        font-weight: 700;
        background: linear-gradient(45deg,#dc3545,#b71c2a);
        -webkit-background-clip: text;
        color: transparent;
        margin-bottom: 2rem;
        text-align: center;
    }
    .sidebar .user-info {
        margin-bottom: 2rem;
        text-align: center;
    }
    .sidebar .user-info h5 {
        font-weight: 700;
        margin-bottom: 0.2rem;
        font-size: 1.2rem;
    }
    .sidebar .user-info small {
        color: #888;
    }
    .sidebar .nav-link {
        color: #444;
        font-size: 1.05rem;
        border-radius: 8px;
        margin-bottom: 6px;
        padding: 0.8rem 1rem;
        transition: background 0.2s, color 0.2s;
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;
    }
    .sidebar .nav-link:hover {
        background: #fff1f2;
        color: #dc3545;
    }
    .sidebar .nav-link.active {
        background: linear-gradient(45deg,#dc3545,#b71c2a);
        color: #fff !important;
        font-weight: 700;
    }

    /* Dashboard Content */
    .dashboard-content {
        margin-left: 260px;
        padding: 2rem;
        min-height: 100vh;
        background: #f8f9fa;
    }

    @media (max-width: 991px) {
        .dashboard-content { margin-left: 0; padding: 1rem; }
        .sidebar { position: relative; width: 100%; min-height: auto; box-shadow: none; }
    }

    /* Cards */
    .card-metric {
        background: linear-gradient(135deg,#fff,#fff5f6);
        color: #dc3545;
        border: none;
        border-radius: 14px;
        box-shadow: 0 2px 14px rgba(220,53,69,0.08);
        min-height: 120px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 1.2rem 1.5rem;
        margin-bottom: 1.5rem;
        transition: transform 0.2s ease;
    }
    .card-metric:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 16px rgba(220,53,69,0.15);
    }
    .card-metric .icon {
        font-size: 2.3rem;
        margin-right: 1.2rem;
        color: #dc3545;
    }
    .card-metric .fw-bold {
        font-size: 1.8rem;
        font-weight: 800;
    }
    .card-metric .text-muted {
        color: #666 !important;
        font-size: 1rem;
        font-weight: 500;
    }

    /* Notification Card */
    .notification-card {
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.05);
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .notification-card h5 {
        font-weight: 700;
        color: #dc3545;
        margin-bottom: 1rem;
    }
    .notification-card .notification {
        padding: 0.8rem;
        border-bottom: 1px solid #f1f1f1;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .notification-card .notification:last-child { border-bottom: none; }
    .notification-card .notification i {
        color: #dc3545;
        font-size: 1.2rem;
    }

    /* Tables */
    .table th {
        color: #dc3545;
        font-weight: 700;
        background: #fff;
    }
    .table td {
        vertical-align: middle;
        font-weight: 500;
    }

    /* Profile Section */
    .profile-section {
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 2px 12px rgba(220,53,69,0.07);
        padding: 2rem;
        margin-bottom: 2rem;
    }
    .profile-section h3 {
        font-size: 1.4rem;
        font-weight: 700;
        color: #dc3545;
        margin-bottom: 1rem;
    }
    .profile-avatar {
        width: 110px;
        height: 110px;
        border-radius: 50%;
        border: 3px solid #dc3545;
        object-fit: cover;
    }

    /* Support Section */
    .support-container {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .support-messages {
        flex: 1 1 55%;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.05);
        padding: 1rem;
        max-height: 450px;
        overflow-y: auto;
    }
    .support-message {
        padding: 0.8rem;
        border-bottom: 1px solid #f1f1f1;
        display: flex;
        align-items: center;
        gap: 12px;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    .support-message:hover { background: #fff5f6; }
    .support-message:last-child { border-bottom: none; }
    .support-message img {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        object-fit: cover;
    }
    .support-message .msg-content h6 {
        margin: 0;
        font-weight: 700;
        font-size: 1.05rem;
    }
    .support-message .msg-content small {
        color: #777;
        font-size: 0.9rem;
    }
    .support-reply {
        flex: 1 1 40%;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.05);
        padding: 1.5rem;
    }
    .support-reply h5 {
        font-weight: 700;
        color: #dc3545;
        margin-bottom: 1rem;
    }

    /* Chart Container */
    #earningsChart {
        width: 100%;
        height: 400px !important;
    }