header, footer {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow: auto; /* This ensures the page scrolls if the content exceeds the viewport height */
    margin: 0;
    padding: 0;
	background: #fff;
	
    
}

header {
    margin-bottom: 20px;
}

/*dashboard css*/
/* Sidebar styles */
/* General Reset */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

/* Main Wrapper */
#dashboard-wrapper {
    display: flex;
    height: 100vh;
    flex-wrap: wrap;
}

/* Sidebar */
#sidebar {
    width: 250px;
    background: #f8f9fa;
    border-right: 1px solid #e7e7e7;
    padding: 20px;
}

#sidebar h2 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

#sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sidebar ul li {
    margin-bottom: 10px;
}

#sidebar ul li a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 8px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

#sidebar ul li a:hover {
    background-color: #cfddec;
    color: #fff;
}

/* Content Area */
#content-area {
    flex-grow: 1;
    padding: 30px;
    background: #ffffff;
    flex: 1;
}

/* Form Styling */
/* Heading Styling */
h1 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    text-align: left; /* Align heading to the left */
    background: none; /* Ensure no background or shadow */
    font-weight: bold; /* Make the heading bold */
    margin-left: 0; /* Remove any default margins if required */
}

/* Form Styling */
/* Custom Heading Styling */
.custom-heading {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    text-align: left; /* Ensure it's left-aligned */
    background: none !important; /* Remove any background */
    box-shadow: none !important; /* Remove any shadow */
    font-weight: bold; /* Make it bold */
    padding: 0; /* Remove any padding (if any) */
}

/* Form Styling */
form {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e7e7e7; /* Subtle border for the form */
    max-width: 600px;
    margin: 0; /* Remove auto centering */
    font-size: 1rem;
    /* Align form to the left side */
    float: left; /* Float form to the left */
    width: 100%; /* Ensures the form takes full width */
}

/* Form Inputs */
form .form-group {
    margin-bottom: 20px;
}

form label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #555;
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e7e7e7; /* Border for the input fields */
    box-sizing: border-box;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus {
    border-color: #007bff; /* Blue border when focused */
    outline: none;
}

form button {
    padding: 12px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    width: 100%;
}

form button:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    #sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        margin-bottom: 20px;
    }

    #dashboard-wrapper {
        flex-direction: column;
    }

    #content-area {
        padding: 20px;
    }

    form {
        padding: 15px;
        margin: 0 10px;
        float: none; /* Reset floating on small screens */
    }
}



/*End Dashboard css */
/* General Container Styling */
.container {
    max-width: 900px;
  /*  padding: 30px; */
    border-radius: 8px;
    font-family: 'Helvetica', Arial, sans-serif;
	margin-left: 0px;
}

/* Heading */
h1 {
    font-size: 32px;
    color: #333;
    font-weight: bold;
}

/* Success/Error Message Styling */
.notice {
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
}

.notice-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notice-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.hidden {
    display: none !important;
}


#success-message,
#error-message {
    margin-top: 20px;
    font-size: 1.1rem;
    padding: 15px;
    border-radius: 5px;
}

#success-message {
    background-color: #d4edda;
    color: #155724;
}

#error-message {
    background-color: #f8d7da;
    color: #721c24;
}


/* Input Fields & Textarea */
.form-label {
    font-size: 16px;
    color: #555;
    font-weight: 600;
}

.form-control {
    font-size: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
    border-color: #0073e6;
    box-shadow: 0 0 5px rgba(0, 115, 230, 0.5);
}

/* Submit Button */
.btn-primary {
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #005bb5;
}

/* Mobile responsiveness for smaller screens */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 24px;
    }
    
    .btn-primary {
        font-size: 14px;
        padding: 10px;
    }
}


/* Email Preview Styling */
#email_preview {
    font-family: Arial, Helvetica, sans-serif;  /* Set a common font for email previews */
    color: #333;  /* Dark text for readability */
    padding: 20px;
    background-color: #ffffff;  /* White background */
    width: 100%;
    max-width: 600px;  /* Limit the preview width */
    margin: 0 auto;  /* Center the preview */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);  /* Optional: Add shadow for visual appeal */
    line-height: 1.5;  /* Increase line height for better readability */
    border-radius: 5px;  /* Optional: Rounded corners */
}

/* Header in the preview */
#email_preview h3 {
    color: #555;  /* Darker color for the header */
    margin-top: 0;  /* Remove margin from the top */
}

/* Paragraph styling in the preview */
#email_preview p {
    font-size: 16px;  /* Larger font size */
    margin: 10px 0;  /* Add some space between paragraphs */
}

/* Links in the preview */
#email_preview a {
    color: #0073e6;  /* Blue color for links */
    text-decoration: none;  /* Remove underline */
}

/* Style for tables in the preview */
#email_preview table {
    width: 100%;
    border-collapse: collapse;  /* Remove space between table borders */
}

/* Table cell styling */
#email_preview td, #email_preview th {
    padding: 10px;
    border: 1px solid #ddd;  /* Light border for table cells */
}

 .notice {
        padding: 15px;
        border-radius: 5px;
        margin-top: 15px;
    }
    .notice-success {
        background-color: #d4edda;
        color: #155724;
    }
    .notice-error {
        background-color: #f8d7da;
        color: #721c24;
    }


.page-template-page-login-registration {
    height: 100vh; 
    overflow: hidden;
}
/*------------------------- Header CSS Start ------------------------------- */
/* Main Header Styling */
/* Main Header Styling */
.main-header {
    background-color: transparent; /* Transparent background */
    color: #343a40; /* Dark text color */
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for contrast */
}

/* Title Styling */
.brand-title {
    font-size: 24px;
    font-weight: 700;
    color: #007bff; /* Bright color for the title */
    margin-left: 15px;
    text-transform: uppercase;
}

.brand-title:hover {
    color: #0056b3; /* Darker shade on hover */
}

/* Navbar Styling */
.navbar-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.menu-right {
    display: flex;
    list-style: none;
    margin-left: auto;
    padding: 0;
}

.menu-right li {
    margin-left: 20px;
}

/* Menu Item Styling */
.menu-link {
    text-decoration: none;
    font-size: 16px;
    color: #343a40; /* Dark text color */
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu-link:hover {
    color: #007bff; /* Blue color on hover */
}

/* Hover effect for brand logo */
.navbar-brand:hover {
    cursor: pointer;
}

/* Transparent Header with Gradient Effect for Better Visibility */
.main-header {
    background: rgba(255, 255, 255, 0.9); /* Slightly transparent white background */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Light shadow */
}

/* Optional - If you want a gradient effect (for better visibility against varied backgrounds) */
.main-header {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)); /* Transparent white gradient */
}

/* Responsive design */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        text-align: center;
    }

    .navbar-nav {
        justify-content: center;
        margin-top: 10px;
    }

    .menu-right li {
        margin-left: 10px;
    }

    .menu-link {
        font-size: 14px;
    }
}





/*------------------------------------Header Css End ------------------------------------*/

/* ----------------------------Tardis Form CSS Start --------------------------------------*/
.page-wrapper {
    flex: 1; /* Grow to fill remaining space */
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: calc(100vh - 142px);
}

.form-logo {
    display: block;
    margin: 0 auto 20px; /* Center the logo and add margin below */
    max-height: 40px; /* Adjust the height as needed */
    width: auto; /* Maintain aspect ratio */
}

.form-container {
    width: calc(100% - 40px); /* Full width minus 20px margin on each side */
  /* max-width: 1240px;  Constrain the maximum width to 1240px */
    padding: 22px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #fff;
    margin: 20px auto; /* Center the form horizontally with 20px vertical margin */
}

.page-content {
    padding: 0 20px; /* Ensure content inside page-wrapper does not touch the edges */
}

.responsive-form {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.form-group {
    display: flex;
    flex-direction: column; /* Stack label and input */
    flex-grow: 1; /* Allow inputs to grow equally */
    gap: 5px; /* Spacing between label and input */
}

.form-group label {
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}

.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
}

.form-group input[type="date"] {
    text-transform: uppercase;
}

.responsive-form button {
    flex-shrink: 0;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background: linear-gradient(90deg, #FF6600 0%, #FF5204 0%, #FF270D 100%);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-left: 10px; /* Space between the button and inputs */
    margin-top: 30px;
}

/* Hover Effect - Change the gradient on hover */
.responsive-form button:hover {
    background: linear-gradient(90deg, #DB1800 0%, #FF270D 100%);
}

/* Responsive Styles */
@media (max-width: 800px) {
    .responsive-form {
        flex-direction: column;
        align-items: stretch;
    }

    .form-group {
        width: 100%;
        margin-bottom: 10px;
    }

    .form-group label {
        margin-bottom: 5px;
        text-align: left;
    }

    .form-group input[type="date"],
    .form-group select,
    .responsive-form button {
        width: 100%;
    }

    .responsive-form button {
        margin-left: 0; /* Remove left margin for buttons in small screens */
    }
}
/*----------------------------------------Tardis Form CSS End ---------------------------------------*/
.dataTables_length {
	margin-bottom: 14px;
}

.dataTables_wrapper .dataTables_paginate {
	padding-top: 0.755em !important;
}

table.dataTable td > span {
    display: inline; /* Ensure span does not break the line */
    font-weight: 800; /* Bold text for titles inside td */
    color: #000; /* Black color */
}


/* Submit button */
.form-group button[type="submit"] {
    padding: 10px 20px;
    background-color: #FF4742;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 20px; /* Add space to the left of the button */
}

.form-group button[type="submit"]:hover {
    background-color: #DB1800;
}

/* ----------------------------Tardis Form Container --------------------------------------*/
/* ---------------------------------- log out button ---------------------------- */

.user-profile {
    position: relative;
    display: inline-block;
}

.profile-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    vertical-align: middle; /* or top */
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 50px; /* Adjust based on your layout */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 1000;
    min-width: 120px; /* Optional: adjust width as needed */
}

.dropdown-item {
    display: block;
    padding: 10px;
    text-decoration: none;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
    color: #0056b3;
}



/* ---------------------------------- log out button ---------------------------- */

@media (min-width: 600px) {
    .form-group {
        flex: 1; /* On wider screens, make the form groups take up equal space */
    }
}

.form-group button[type="submit"] {
    background-color: #FF4742;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-self: center; /* Center button in the form row */
}

.form-group button[type="submit"]:hover {
    background-color: #DB1800 !important;
}

/* Style for button container */
.button-container {
    display: flex;
    gap: 10px; /* Space between buttons */
    justify-content: center;
}

/* Ensure buttons have the same width and gradient background */
.button-container button {
    flex: 0 0 auto;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background: linear-gradient(90deg, #FF6600 0%, #FF5204 0%, #FF270D 100%);
    color: white;
    cursor: pointer;
    text-align: center;
    width: calc(40% - 5px);
}

/* Anchor tag styling inside the button */
.button-container button a {
    color: white;
    text-decoration: none;
}

/* Hover effect - same as .responsive-form button hover */
.button-container button:hover {
    background: linear-gradient(90deg, #DB1800 0%, #FF270D 100%);
}

/* View-button-only class */
.button-container.view-button-only {
    display: flex;
    justify-content: center;
    width: 100%;
}

.button-container.view-button-only button {
    width: 100px;
}




/* --------------------------Responsive tardis Form Layout -----------------------------------*/
@media (max-width: 768px) {
    .form-row {
        flex-direction: column; /* Stack vertically on small screens */
    }

    .form-group {
        width: 100%; /* Full width on smaller screens */
    }

    .form-group input[type="date"],
    .form-group select,
    .form-group button[type="submit"] {
        margin: 5px 0;
        width: 100%;
    }

    .form-group label {
        text-align: left;
    }
}

/* --------------------------Responsive tardis Form Layout -----------------------------------*/


/* Lighter overlay for the background */
/* Removed overlay styles */
/* Loader styles with white and red borders */
/* Loader styles */
.loader {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
	
    z-index: 5000; /* Ensure it appears above other content */
    animation: spin 2s linear infinite;
}

.loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(90deg, white 50%, #FF6600 50%);
    mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0); /* Circular mask for the gradient */
    mask-composite: exclude; /* Ensures the mask cuts out the correct parts */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Table Container */

.mt-2 .nav-item {
    font-size: 1.25rem;
}

/* Make sure table is responsive */


/* Disable User Interaction While Loading */
.disable-interaction {
    pointer-events: none;
}

/* Footer Styling */
.main-footer {
    background-color: #09143E;
    color: #ffffff;
    padding: 10px 10px;
    box-sizing: border-box;
    text-align: right;
	font-size:14px; 
    width: 100%;
}

/* Footer Links */
.main-footer a {
    color: #ffffff; /* Link color in the footer */
}

.main-footer a:hover {
    color: #dcdcdc; /* Hover color for links in the footer */
}

/* Auth Container Styling */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #fff; /* Light gray background for contrast */
    padding: 20px;
}

.auth-form {
    background: #ffffff; /* White background for the form */
    border-radius: 8px;
    padding: 30px;
    width: 100%;
    max-width: 400px; /* Set max-width for the form container */
    border: 1px solid #dee2e6; /* Subtle border for separation */
    text-align: center; /* Center-align content inside the form */
    margin: 0 auto; /* Center the form horizontally */
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.form-title {
    color: #343a40; /* Dark gray for the title */
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.auth-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #495057; /* Medium gray for labels */
    text-align: left;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: calc(104% - 20px);
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ced4da; /* Light border color */
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

/* Style for auth-form button with gradient background */
.auth-form button {
    background: linear-gradient(90deg, #FF6600 0%, #FF5204 0%, #FF270D 100%);
    color: #ffffff; /* White text */
    padding: 10px; /* Maintain padding */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    max-width: 40%; /* Set max-width to 40% of the form container */
    width: 100%; /* Allow width to expand to 100% of the max-width */
    font-size: 14px; /* Maintain font size for consistency */
    font-weight: 600;
    margin: 20px auto 0; /* Center the button and add margin at the top */
    display: block; /* Ensure the button is a block-level element for centering */
    box-sizing: border-box; /* Include padding and border in the element’s total width and height */
}

/* Hover Effect - same gradient hover effect */
.auth-form button:hover {
    background: linear-gradient(90deg, #DB1800 0%, #FF270D 100%);
}


/* Add this CSS to your stylesheet */
.auth-error {
    color: red; /* Red color for error messages */
    font-size: 0.875em; /* Smaller font size for error messages */
    margin-top: 5px; /* Space above error messages */
    text-align: left; /* Align error messages to the left */
}

input.error {
    border: 1px solid red; /* Add red border to invalid inputs */
}

label.error {
    color: red;
    font-size: 0.875em; /* Smaller font size for error messages */
    display: block; /* Ensure error messages are displayed on their own line */
    margin-top: 0px;
}


.auth-success {
    color: #28a745; /* Green for success messages */
    margin-bottom: 15px;
    font-size: 14px;
}

.auth-link {
    margin-top: 10px;
    font-size: 14px;
}

.auth-link a {
    color: #007bff; /* Blue color for links */
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}
/*------------------------------Table Css Start -------------------------------------*/
.table-container {
    margin: 20px auto; /* Center the table container */
    /* padding: 0px 20px 20px 20px; Top Right Bottom Left */
    background-color: #fff;
   /* border: 1px solid #ddd; */
    border-radius: 8px;
    overflow-x: auto; /* Adds horizontal scroll if content overflows */
}

/* Make sure tables are responsive */
table.dataTable {
    width: 100%;
    table-layout: fixed; /* Ensures columns are fixed */
    border-collapse: collapse; /* Collapse borders */
}

table.dataTable th,
table.dataTable td {
    padding: 5px 10px !important;
    border: 1px solid #ddd;
    text-align: left;
}
table.dataTable td {
	font-size: 14px;
	word-wrap: break-word;
	display: table-cell;
	letter-spacing: 0.5px;
}

#recordingsTable td {
    background-color: #ffffff;
	color: #000;
}

#recordingsTable th {
    background-color: #ffffff;
	color: #000;
}

table.dataTable th {
    font-weight: bold;
	background-color: #ffffff;
	color: #000;
}

table.dataTable thead th, table.dataTable thead td {
    padding: 10px 10px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    table.dataTable {
        display: block;
        overflow-x: auto; /* Adds horizontal scroll if needed */
    }

    table.dataTable thead {
        display: none; /* Hides table headers */
    }

    table.dataTable tr {
        border-bottom: 1px solid #ddd;
        display: block;
        margin-bottom: 10px;
		background-color: #ffffff;
		
    }

    table.dataTable td {
        display: block; /* Stacks table cells vertically */
        width: 100%; /* Full width for each cell */
        box-sizing: border-box; /* Ensures padding doesn't affect width */
        position: relative;
        padding-left: 50%; /* Adds space for labels */
        text-align: right; /* Aligns text to the right */
        white-space: nowrap; /* Prevents wrapping */
    }

    table.dataTable td::before {
        content: attr(data-label); /* Uses data-label attribute for cell labels */
        position: absolute;
        left: 0;
        width: 45%;
        padding: 10px;
        font-weight: bold;
        background-color: #f4f4f4;
        text-align: left;
        top: 0;
    }
}
