body {
    font-family: Arial, sans-serif;
    /* background-color: #f4f4f4; */
	background: linear-gradient(to bottom, rgba(48, 86, 211, 1), rgba(20, 60, 100, 1));
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0; /* Reset default margin */
}

.signup-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px;
}

.signup-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.signup-container label {
    display: block;
    margin-bottom: 8px;
}

.signup-container input[type="text"],
.signup-container input[type="email"],
.signup-container input[type="password"],
.signup-container input[type="tel"] {
    box-sizing: border-box; /* Include padding in width */
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.signup-container input[type="checkbox"] {
    margin-right: 5px;
}

.signup-container button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.signup-container button:hover {
    background-color: #0056b3;
}

.terms {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
}
* {
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}
.dashboard-container {
    display: flex;
    height: 100vh; /* No need to subtract the navbar height */
    width: 100%;
	
    /* Remove the padding-top: 60px; */
}

.sidebar {
    /*flex-basis: 15%; /* Set a base width for the sidebar */
    /*background-color: #007BFF;*/
	background: linear-gradient(to bottom, rgba(48, 86, 211, 1), rgba(20, 60, 100, 1));
    color: #ecf0f1;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
	/*display: flex; */
    /*flex-direction: column;*/
	display:block;
	width: 15%;
	max-width:15%;
    height: 100vh; /* This ensures the sidebar takes the full height of the viewport */
    overflow: hidden; /* This will hide any overflow, preventing scrollbars */
	padding: 10px 0; /* Slightly reduce the vertical padding */
	z-index: 2000;
}

.sidebar a {
    display: block;
    padding: 16px 30px; /* Slightly reduce the vertical padding */
    color: #ecf0f1;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s;
}

.sidebar a:hover {
    background-color: #34495e;
}

.sidebar-icon {
    margin-right: 10px;
    color: #ecf0f1; /* Change this to white color */
}

.content {
    flex-grow: 0; /* Allow the content to grow and take up the remaining space */
    padding: 20px;
    background-color: #f4f4f4;
	width: 100%;
	max-width: 85%;
	
}

.user-info {
    text-align: right;
    margin-bottom: 20px;
}

/* Responsive styles for smaller screens */
/* @media (max-width: 768px) { */
   /* .dashboard-container {
        flex-direction: column;
    } */

/* sidebar, .content {
        flex-basis: auto; 
        width: 100%; 
   
}*/
.btn {
    width: auto; /* Adjust width to content */
    padding: 10px 20px; /* Add some horizontal padding */
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    display: inline-block;
    margin-bottom: 20px; /* Add some margin for spacing */
}

.btn:hover {
    background-color: #0056b3;
}
.campaign-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
}

.blue-button {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.blue-button:hover {
    background-color: #0056b3;
}
/* Larger input fields for the campaign form */
.new-campaign-form input[type="text"],
.new-campaign-form input[type="date"],
.new-campaign-form input[type="url"],
.new-campaign-form select {
    font-size: 16px; /* Accessible font size */
    height: 45px; /* Comfortable height */
    padding: 10px 15px; /* Horizontal padding for readability */
    border-radius: 4px; /* Rounded corners */
}

.new-campaign-form select {
    appearance: none; /* Remove default appearance */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}
.new-campaign-form select {
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAWElEQVR42mJ8//8/AyWYYEYDMDAw+D8QDwPxEKYPBvEPoQ4G8QehDgYxM2g0B8EeoQ4G8QehDgYxM2g0B8EeoQ4G8QehDgYxM2g0B8EeoQ4G8QehDgYxM2g0B8EeoQ4G8QehDobwAz2mD6IlqeosAAAAAElFTkSuQmCC') no-repeat right 10px center;
    padding-right: 30px; /* Space for the arrow */
}


.sidebar-spacer {
    flex-grow: 1;
}
.sidebar-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
}

.sidebar-company-name {
    padding: 8px 20px; /* Slightly reduce the vertical padding */
    font-size: 16px;
    color: #ecf0f1;
}

.logout-button {
    display: block;
    padding: 8px 20px; /* Slightly reduce the vertical padding */
    color: #ecf0f1;
    text-decoration: none;
    font-size: 18px;
    background-color: #e74c3c;
    transition: background-color 0.3s;
}

.logout-button:hover {
    background-color: #c0392b;
}
.sidebar-logo {
    padding: 20px; /* Add padding around the logo */
}
.sidebar-logo img {
    width: 50%; /* Make the logo take the full width of its container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Make the image a block element to remove any unwanted space below it */
    margin: 0 auto; /* Center the image if needed */
}
/* Tabulator Table Styles */
.tabulator {
    border: none;
    font-family: Arial, sans-serif;
}

.tabulator-row {
    border-bottom: 1px solid #ccc;
}

.tabulator-cell {
    background-color: #FFFFFF;
    color: #333;
    border-right: 1px solid #ccc;
}

.tabulator-header {
    background-color: #007BFF;
    color: #fff;
}

.tabulator-header .tabulator-col {
    border-right: 1px solid #0056b3;
}

.tabulator-header .tabulator-col:last-child {
    border-right: none;
}

.tabulator .tabulator-row:hover {
    background-color: #e6e6e6;
}
.navbar {
    display: flex;
    justify-content: flex-end; /* Align items to the right */
    align-items: center; /* Vertically center-align items */
    background-color: #fff;
    padding: 10px 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Ensure navbar is on top */
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.navbar-user-info {
    color: #333;
    font-size: 16px;
}

.notification-icon {
    color: #007BFF;
    font-size: 24px;
    cursor: pointer;
}
.navbar-info {
    display: flex;
    align-items: center; /* Vertically center-align items */
    gap: 10px; /* Space between items */
}
.new-campaign-form {
    display: flex;
    flex-direction: column;
    align-items: left; /* Center-align items horizontally */
    gap: 10px; /* Space between items */
}

.new-campaign-form label,
.new-campaign-form input,
.new-campaign-form select,
.new-campaign-form button {
    width: 100%; /* Make all elements take the full width of the container */
    max-width: 300px; /* Set a maximum width for better appearance on larger screens */
}
.red-button {
    background-color: #e74c3c;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.red-button:hover {
    background-color: #c0392b;
}
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
    margin-bottom: 20px;
}
/* Align radio buttons and their labels */
.new-campaign-form input[type="radio"],
.new-campaign-form label.radio-label {
    vertical-align: top;
    display: inline-block;
	max-width:200px;
}
.sidebar-icon i {
    color: white;
}
/* Add this to your styles.css */
canvas {
    max-width: 100%;
    height: auto;
	flex-grow: 0;
}
.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
	max-width:70%;
}

.chart-item {
    padding: 0 10px;
}
/* Dropdown Styles */
#reportType, #specificReport {
    width: 250px; /* Set a fixed width for both dropdowns */
    font-size: 18px; /* Increase font size for better readability */
    padding: 10px; /* Add some padding for a better appearance */
    border: 1px solid #ccc; /* Border color */
    border-radius: 4px; /* Rounded corners */
    background-color: #fff; /* Background color */
    margin-bottom: 20px; /* Space between dropdowns and other elements */
    appearance: none; /* Remove default appearance */
    cursor: pointer; /* Change cursor to pointer on hover */
}

/* Add a down arrow icon to the dropdowns */
#reportType::after, #specificReport::after {
    content: "\25BC"; /* Down arrow symbol */
    font-size: 12px; /* Adjust the size of the arrow */
    position: absolute; /* Position it absolutely */
    right: 15px; /* Position from the right */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Centering adjustment */
    pointer-events: none; /* Make sure it doesn't interfere with dropdown functionality */
}
#reportTable {
    width: 100%; /* or any specific width you want */
    overflow-x: auto; /* to allow horizontal scrolling within the table if needed */
}
#ads-table {
    width: 100%; /* or any specific width you want */
    overflow-x: auto; /* to allow horizontal scrolling within the table if needed */
}
#campaigns-table {
    width: 100%; /* or any specific width you want */
    overflow-x: auto; /* to allow horizontal scrolling within the table if needed */
}
#ads-table {
    height: 500px;  // or any other value you prefer
}
