



/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7fc;  /* Light background for a clean look */
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
h1, h2 {
    font-weight: 600;
    color: #2d3748;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

/* Dashboard Summary Section */
.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-3 .bg-blue-500,
.grid-cols-3 .bg-green-500,
.grid-cols-3 .bg-yellow-500 {
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.grid-cols-3 .bg-blue-500:hover,
.grid-cols-3 .bg-green-500:hover,
.grid-cols-3 .bg-yellow-500:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.grid-cols-3 h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.grid-cols-3 p {
    font-size: 2rem;
    font-weight: bold;
}

/* Filter Section */
.bg-white {
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.bg-white input,
.bg-white select {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 1rem;
    color: #4a5568;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 0.75rem;
    overflow: hidden;
}

table th,
table td {
    padding: 1rem;
    text-align: left;
    font-size: 1rem;
    color: #4a5568;
}

table th {
    background-color: #f7fafc;
    font-weight: bold;
    border-bottom: 2px solid #e2e8f0;
}

table tbody tr {
    transition: background-color 0.3s ease;
}

table tbody tr:hover {
    background-color: #edf2f7;
}

table td button {
    padding: 0.5rem 1rem;
    background-color: #4299e1;
    color: white;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
}

table td button:hover {
    background-color: #3182ce;
}

/* Modal Background */
#note-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;  /* Ensure the modal appears above other content */
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);  /* Dark semi-transparent background */
    display: none;  /* Initially hidden */
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;  /* Smooth fade-in/fade-out transition */
}

/* Modal Content Box */
#note-modal .modal-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Modal Heading */
#note-modal h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2d3748;
}

/* Textarea in Modal */
#note-modal textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #2d3748;
}

/* Modal Buttons */
#note-modal button {
    padding: 0.75rem 1.5rem;
    background-color: #48bb78;
    color: white;
    border-radius: 0.375rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#note-modal button:hover {
    background-color: #38a169;
}

#note-modal #close-modal-btn {
    background-color: #e2e8f0;
    color: #2d3748;
}

#note-modal #close-modal-btn:hover {
    background-color: #cbd5e0;
}

/* Modal Open (Display Flex) */
#note-modal.visible {
    display: flex;  /* Show the modal when the 'visible' class is added */
    opacity: 1;  /* Fully visible */
    pointer-events: auto;  /* Enable interaction */
}

/* Solved / Unsolved Dropdown */
.status-dropdown {
    width: 200px;
    padding: 0.75rem;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 1rem;
    color: #4a5568;
}

/* Solved State */
.status-dropdown option[value="Solved"] {
    background-color: #48bb78 !important; /* Green for Solved */
    color: white;
}

/* Unsolved State */
.status-dropdown option[value="Unsolved"] {
    background-color: #f56565 !important; /* Red for Unsolved */
    color: white;
}

/* None State */
.status-dropdown option[value="None"] {
    background-color: #edf2f7 !important; /* Light gray for None */
    color: #2d3748;
}

/* Disabled State */
.status-dropdown:disabled {
    background-color: #edf2f7;
    cursor: not-allowed;
}



/* Top Cards Section */
.grid-cols-1 {
    grid-template-columns: 1fr;
}

.md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-blue-500 {
    --tw-gradient-from: #4299e1;
}

.to-indigo-600 {
    --tw-gradient-to: #4c51bf;
}

.from-green-400 {
    --tw-gradient-from: #48bb78;
}

.to-teal-500 {
    --tw-gradient-to: #38b2ac;
}

.from-yellow-400 {
    --tw-gradient-from: #f6ad55;
}

.to-orange-500 {
    --tw-gradient-to: #f56565;
}

.text-white {
    color: #fff;
}

.p-6 {
    padding: 1.5rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-lg {
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
}

.text-xl {
    font-size: 1.25rem;
}

.font-semibold {
    font-weight: 600;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.font-bold {
    font-weight: 700;
}

.text-lg {
    font-size: 1.125rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.transform {
    transform: none;
}

.transition-all {
    transition-property: all;
}

.duration-300 {
    transition-duration: 300ms;
}

@media (min-width: 768px) {
    .grid-cols-1 {
        grid-template-columns: 1fr;
    }
}







/* Order ID text color and boldness based on status */

/* Solved - Green text and bold */
.order-id.solved {
    color: #48bb78;  /* Green */
    font-weight: bold;
}

/* Unsolved - Red text and bold */
.order-id.unsolved {
    color: #f56565;  /* Red */
    font-weight: bold;
}

/* None - Default text color */
.order-id.none {
    color: #2d3748;  /* Default Gray */
    font-weight: normal;
}




/* Username Button Style */
.user-status-btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    font-weight: bold;
    cursor: pointer;
}

/* VIP Button - Red Background */
.user-status-btn.vip {
    background-color: #f56565; /* Red for VIP */
    color: white; /* White text for contrast */
}

/* Non-VIP Button - Blue Background */
.user-status-btn.non-vip {
    background-color: #4299e1; /* Blue for Non-VIP */
    color: white; /* White text for contrast */
}

/* Hover effect */
.user-status-btn:hover {
    opacity: 0.9;
}







/* Filter Section Styles */
.bg-white {
    background-color: #fff;
}

.p-6 {
    padding: 1.5rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-lg {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.grid {
    display: grid;
}

.gap-4 {
    gap: 1rem;
}

.w-full {
    width: 100%;
}

.border-gray-300 {
    border: 1px solid #e2e8f0;
}

.rounded-lg {
    border-radius: 0.375rem;
}

.p-2 {
    padding: 0.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.text-gray-700 {
    color: #4a5568;
}

.font-semibold {
    font-weight: 600;
}

.text-xl {
    font-size: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
}

.bg-blue-500 {
    background-color: #3b82f6;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.bg-gray-500 {
    background-color: #6b7280;
}

.bg-gray-600 {
    background-color: #4b5563;
}

.text-white {
    color: white;
}

.hover\:bg-blue-600:hover {
    background-color: #2563eb;
}

.hover\:bg-gray-600:hover {
    background-color: #4b5563;
}

.focus\:outline-none:focus {
    outline: none;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}
