/*
Color Palette:
Primary Background: #1a1a1a (Dark Black)
Accent 1 (Neon Green): #39FF14
Accent 2 (Light Red): #FF4500 (OrangeRed)
Text/Secondary Background: #333333, #bbbbbb, #cccccc
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); /* Inter ফন্ট */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css'); /* Font Awesome Icons */


/* Global Styles */

/* Inline checkbox group for form */
.form-group.checkbox-group-inline {
    display: flex;
    align-items: center;
    margin-bottom: 15px; /* Adjust as needed */
}

.form-group.checkbox-group-inline input[type="checkbox"] {
    margin-right: 10px; /* Space between checkbox and label */
    width: auto; /* Override default input width */
}

.form-group.checkbox-group-inline label {
    margin-bottom: 0; /* Align label vertically */
}

/* Checkbox Group Styling */
.checkbox-group label {
    display: inline-block; /* Ensure labels are inline with checkboxes */
    margin-left: 5px;
    margin-bottom: 0; /* Remove default bottom margin */
}

.checkbox-group input[type="checkbox"] {
    width: auto; /* Allow checkbox to take natural width */
    margin-right: 5px; /* Space between checkbox and label */
}


/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
}

.alert.success {
    background-color: #39FF14; /* Neon Green background for success */
    color: #1a1a1a; /* Dark text for contrast */
}

.alert.danger {
    background-color: #FF4500; /* Light Red background for danger */
    color: white; /* White text for contrast */
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a; /* Primary Black Background */
    color: #bbbbbb; /* Default text color */
    line-height: 1.6;
    display: flex;
    min-height: 100vh; /* Ensure full viewport height */
}

.dashboard-container {
    display: flex;
    width: 100%;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: #0d0d0d; /* Slightly darker black for sidebar */
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes logout to bottom */
}

.sidebar .logo {
    text-align: center;
    margin-bottom: 30px;
}

.sidebar .logo h1 {
    color: #39FF14; /* Neon Green for logo/title */
    font-size: 28px;
    margin: 0;
    font-weight: 700;
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar nav ul li {
    margin-bottom: 10px;
}

.sidebar nav ul li a {
    color: #bbbbbb;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar nav ul li a i {
    margin-right: 10px;
    color: #39FF14; /* Neon Green icons */
}

.sidebar nav ul li a:hover,
.sidebar nav ul li a.active {
    background-color: #333333; /* Darker grey on hover/active */
    color: #39FF14; /* Neon Green text on hover/active */
}

.sidebar .logout-section {
    margin-top: auto; /* Pushes it to the bottom */
    padding-top: 20px;
    border-top: 1px solid #333333;
}

.sidebar .logout-btn {
    background-color: #FF4500; /* Light Red for Logout */
    color: white;
    padding: 10px 15px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.sidebar .logout-btn:hover {
    background-color: #c0392b; /* Darker red on hover */
}

/* Main Content Styles */
.main-content {
    flex-grow: 1; /* Takes remaining space */
    padding: 20px;
}

.header {
    background-color: #0d0d0d; /* Slightly darker black for header */
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header .welcome-text {
    font-size: 20px;
    color: #cccccc;
}

.header .welcome-text span {
    color: #39FF14; /* Neon Green for username */
    font-weight: 600;
}

/* Content Card Styles */
.content-card {
    background-color: #0d0d0d; /* Darker background for cards */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.content-card h3 {
    color: #39FF14; /* Neon Green for card headings */
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    border-bottom: 1px solid #333333; /* Subtle divider */
    padding-bottom: 10px;
}

/* Form Styles (General) */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #bbbbbb;
    font-weight: 500;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #333333;
    background-color: #1a1a1a;
    color: #39FF14; /* Neon Green input text */
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: #39FF14; /* Neon Green border on focus */
    outline: none;
}

.btn-primary {
    background-color: #39FF14; /* Neon Green button */
    color: #1a1a1a; /* Black text on neon green button */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary:hover {
    background-color: #00FF00; /* Brighter neon green on hover */
    color: #000000; /* Blacker text on hover */
}

.btn-danger {
    background-color: #FF4500; /* Light Red button */
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-danger:hover {
    background-color: #c0392b;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 12px 15px;
    border-bottom: 1px solid #333333;
    text-align: left;
}

table th {
    background-color: #222222; /* Slightly lighter black for table header */
    color: #39FF14; /* Neon Green for table headers */
    font-weight: 600;
    text-transform: uppercase;
}

table tbody tr:hover {
    background-color: #222222; /* Slight hover effect on rows */
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        padding: 15px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    .sidebar nav ul {
        display: flex;
        justify-content: space-around;
    }
    .sidebar nav ul li {
        margin-bottom: 0;
    }
    .sidebar .logo {
        margin-bottom: 15px;
    }
    .sidebar .logout-section {
        display: none; /* Hide logout button on small screens, can be moved to header */
    }
    .main-content {
        padding: 15px;
    }
    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }
    .header .welcome-text {
        margin-bottom: 10px;
    }
}