.shortcut-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.shortcut-box {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-top: 3px solid var(--app-default-color);
}

.shortcut-box h2 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-color);
}

.back-link {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 15px;
    display: inline-block;
}

.back-link:hover {
    text-decoration: underline;
}

.shortcut-form {
    margin-top: 10px;
}

.shortcut-form label {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 5px;
    display: block;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.input-group input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.shortcut-list {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.scrubber-table {
    margin-top: 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-x: auto;
}

.scrubber-table table {
    width: 100%;
    border-collapse: collapse;
}

.scrubber-table th,
.scrubber-table td {
    text-align: left;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

.scrubber-table th {
    background-color: #f2f3f5;
    color: var(--text-color);
    font-weight: bold;
}

.scrubber-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.scrubber-table tbody tr:hover {
    background-color: #f1f1f1;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 10px;
}

.filter-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.tag {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.remove-tag {
    cursor: pointer;
    font-weight: bold;
    color: white;
}

.filter-card input {
    width: 90%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.filter-card p {
    font-size: 14px;
    color: var(--text-color);
    margin: 5px 0;
}

/* Password Hint */
.password-hint {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.password-hint ul {
    margin-top: 5px;
    padding-left: 20px;
}

/* Avatar Styling */
.user-avatar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

/* Grid Alignment */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Box styling for sections */
.box {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    background-color: var(--card-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Avatar alignment */
.user-avatar-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.avatar-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}


/* Grid layout */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Checkbox Container */
.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-color);
}

/* Checkbox Styling */
.checkbox-container input[type="checkbox"] {
    margin-right: 10px; /* Add space between checkbox and text */
    width: 18px; /* Adjust width */
    height: 18px; /* Adjust height */
    accent-color: var(--primary-color); /* Set checkbox color */
}

/* Label Styling */
.checkbox-container label {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer; /* Makes it clear the label is clickable */
}

/* Link Styling */
.checkbox-container .terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.checkbox-container .terms-link:hover {
    text-decoration: underline;
}

/* Register Page Styling */
.login-body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-left {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    background-color: var(--card-bg);
}

.login-logo {
    width: 150px;
    margin-bottom: 20px;
}

.login-left h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.login-left .subheading {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.login-form {
    width: 100%;
}

.login-form label {
    display: none; /* Accessible for screen readers */
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.checkbox-container input {
    margin-right: 10px;
}

.checkbox-container .terms-link {
    color: var(--primary-color);
    text-decoration: none;
}

.login-links {
    margin-top: 10px;
}

.login-links p {
    font-size: 14px;
}

.login-links .register-link {
    color: var(--primary-color);
    text-decoration: none;
}

.login-links .register-link:hover {
    text-decoration: underline;
}

.login-right {
    width: 50%;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-right .login-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Forgot Password Page */
.login-body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Login Page */
body.login-body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f2f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.login-container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-left, .login-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-left {
    max-width: 600px;
    background-color: #fff;
    text-align: left;
}

.login-left h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.login-form {
    display: flex;
    flex-direction: column;
}

.login-form label {
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.login-form input {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.login-links {
    margin-top: 10px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-right {
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-image {
    width: 100%;
    object-fit: cover;
    border-radius: 0 8px 8px 0;
}

.app-container {
    display: flex;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    position: relative;
    width: 240px;
    background-color: #f2f3f5;
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    width: 200px;
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.username-container {
    position: relative;
    text-align: center;
    cursor: pointer;
}

.username {
    font-size: 14px;
    color: #333;
    display: inline-flex;
    align-items: center;
}

.dropdown-icon {
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
    display: none;
    min-width: 150px;
    z-index: 10;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background-color 0.3s;
}

.dropdown-menu li a:hover {
    background-color: #f7f7f7;
}

.username-container:hover .dropdown-menu {
    display: block;
    opacity: 1;
}

/* General Styles for the Navigation Menu */
.menu ul {
    list-style: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
}

.menu ul li {
    margin: 10px 0; /* Add spacing between menu items */
}

.menu ul li a {
    text-decoration: none; /* Remove underline from links */
    color: var(--sidebar-text); /* Use the sidebar text color */
    display: flex; /* Make the link and icon inline */
    align-items: center; /* Align icon and text vertically */
    font-size: 16px; /* Adjust font size */
    padding: 10px 15px; /* Add padding for clickable area */
    border-radius: 5px; /* Rounded corners for hover effect */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
}

.menu ul li a:hover {
    background-color: rgba(0, 0, 0, 0.05); /* Light hover background */
    color: var(--primary-color); /* Change text color on hover */
}

.menu ul li a i {
    font-size: 20px; /* Size of the icons */
    margin-right: 10px; /* Spacing between icon and text */
    color: var(--sidebar-text); /* Icon color matches text */
}

.menu ul li a:hover i {
    color: var(--primary-color); /* Change icon color on hover */
}

/* Main Content */
.main-content {
    flex-grow: 1;
    padding: 20px;
    background-color: var(--secondary-color);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Overview Cards */
.overview-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.card {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.card-icon {
    font-size: 30px;
    color: var(--app-default-color);
    margin-right: 15px;
}

.card-number {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.card-label {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0;
}

/* Campaign Table */
.campaign-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.campaign-table th, .campaign-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.campaign-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.campaign-table tbody tr:hover {
    background-color: #e8e9eb;
}

/* Switches in Table */
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--app-default-color);
}

input:checked + .slider:before {
    transform: translateX(14px);
}

/* Parent Elements */
.main-content {
    position: relative; /* Ensures the tooltip can appear above other elements */
    z-index: auto; /* Reset z-index to prevent clipping */
}

.campaign-table {
    position: relative; /* Ensure proper layering */
    z-index: auto; /* Reset z-index */
    overflow: visible; /* Prevent clipping of the tooltip */
}

/* Form Styling */
.search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--text-color);
}

label {
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--text-color);
}

input, select {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="checkbox"] {
    margin-right: 5px;
}

/* nav and tab links*/
/* General nav styling */
.nav-tabs {
    display: flex;
    border-bottom: 2px solid #ccc;
    margin-bottom: 1rem;
}

.nav-item {
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    color: #007bff;
    border: 1px solid transparent;
    border-radius: 5px 5px 0 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-item:hover {
    background-color: #f1f1f1;
    color: #0056b3;
}

.nav-item.active {
    background-color: var(--app-default-color);
    color: #fff;
    border-color: #007bff;
    font-weight: bold;
}

.nav-link[aria-selected="false"] {
    color: #6c757d;
}

/* General tab-content styling */
.tab-content {
    border-top: none;
    padding: 15px;
}

/* Tab panes */
.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Active tab pane */
.tab-pane.show {
    display: block;
    opacity: 1;
}

/* Labels and custom elements inside tabs */
.tab-pane label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    color: #333;
}

/* Form Boxes */
.form-box {
    border: 1px solid #ccc;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.form-box h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-color);
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Adjust column width */
.form-column input,
.form-column select {
    width: 90%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Align checkboxes and text */
.form-column label {
    display: flex;
    align-items: center;
    gap: 10px; /* Spacing between checkbox and text */
    font-size: 14px;
    color: var(--text-color);
}

/* Checkboxes */
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
}


/* Form Section */
.search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.form-box {
    border: 1px solid #ccc;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    flex: 1; /* Equal width for all columns */
}

/* Controls Section */
.controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.dropdown, .search-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.total-leads {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
}

/* Table Styling */
.lead-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.lead-table th, .lead-table td {
    text-align: left;
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.lead-table thead {
    background-color: #e3f2fd;
}

.lead-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px; /* Ensures spacing below Export Leads button */
}

.pagination span, .pagination select, .pagination button {
    font-size: 14px;
}

.pagination button {
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: white;
    cursor: pointer;
}

.pagination button:hover {
    background-color: #f1f1f1;
}

/* Day Limit Counter */
.header h1 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Table Section */
.table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.overview-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.overview-table th, .overview-table td {
    text-align: left;
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.overview-table thead {
    background-color: var(--app-default-color);
    color: white;
    font-weight: bold;
}

.overview-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.overview-table tbody tr:hover {
    background-color: #eef3fc;
}

.status.active {
    color: green;
    font-weight: bold;
}

.status.not-started {
    color: red;
    font-weight: bold;
}

.header .day-limit {
    color: var(--app-default-color);
    font-weight: bold;
}

/* Table Container */
.overview-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 8px; /* Rounded corners */
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.overview-table th,
.overview-table td {
    text-align: left;
    padding: 16px;
    font-size: 16px;
    color: #333; /* Dark text for readability */
    border-bottom: 1px solid #e6e9ed; /* Light border for rows */
}

.overview-table th {
    background-color: #f8f9fa; /* Light header background */
    color: #333; /* Header text color */
    font-weight: bold;
    text-transform: capitalize;
}

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

.overview-table tbody tr:hover {
    background-color: #f4f6f9; /* Light hover effect */
}

.overview-table tbody tr:last-child td {
    border-bottom: none; /* Remove border for last row */
}

/* Switch Styling */
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

/* Three Dots Menu */
.options {
    position: relative;
    text-align: center;
    cursor: pointer;
}

.options i {
    font-size: 16px;
    color: #888; /* Subtle color for ellipsis */
}

.options:hover i {
    color: #333; /* Darker color on hover */
}

.header h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.header p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Webhooks Section */
.webhooks-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
}

/* Header Styling */
.header h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

/* General Page Styling */
body {
    font-family: Arial, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    margin: 0;
}

/* Grid Layout */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* Card Styling */
.settings-card {
    background-color: var(--card-bg);
    border: 1px solid #e6e9ed;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto; /* Automatically adjusts based on content */
}

/* Card Titles */
.settings-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
}

/* Paragraphs */
.settings-card p {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 10px;
}

/* Buttons */
/* General Button Styles */
.settings-card button {
    display: inline-block; /* Ensure the button is always visible */
    padding: 10px;
    font-size: 14px;
    color: white;
    background-color: var(--app-default-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth color change on hover */
    margin-bottom: 10px; /* Space between buttons */
}

/* Button Hover Effect */
.settings-card button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Input with Copy Button */
.input-with-button {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Space below input-with-button block */
}

.input-with-button input {
    flex: 1;
    padding: 10px;
    border: 1px solid #e6e9ed;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}

/* Error Message Styling */
.status.error {
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Sidebar bottom text styling */
.sidebar-footer {
    font-size: 14px;
    bottom: 40px;
    color: #333;
    position: absolute;
}