/* layout.css */

/* Header */
/* layout.css */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically align items */
    width: 100%;
    margin: 0 auto;
    padding: 10px 15px;
    box-sizing: border-box;
    position: relative;
    background-color: #f0f4f8;
}

.logo,
.user-account {
    padding: 0px; /* Remove padding */
    display: flex; /* Add flex display */
    align-items: center; /* Vertically align items */
}

/* Style the logo image */
.logo-image {
    max-height: 40px;
    /* Adjust the maximum height as needed */
    max-width: 150px;
    /* Adjust the maximum width as needed */
    display: block;
    /* Remove extra spacing */
}

.logo {
    margin-right: auto;
    /* Push the logo to the left */
    /* padding-left: px; */
}

.user-account {
    margin-left: auto;
    /* Push the user account to the right */
    text-align: right;
    /* Align text to the right */
    padding-right: 20px;
    display: flex; /* Add flex display */
    align-items: center; /* Vertically align items */
}

.page-name-container {
    display: none; /* Hide the page name container by default */
    display: flex; /* Add flex display */
    align-items: top; /* Vertically align items */
}

.page-name {
    /* margin-left: 13%; */
    /* Align the page name to the left of the iframe container */
    margin-bottom: 10%; /* Remove margin-bottom */
    font-size: 18px;
   color: #007BFF; /* Add color to page name */
}

/* Main Layout */
.main-container {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 60px);
    /* Adjust based on header height */
    /* overflow-y: auto; */
}

/* Sidebars */
.services-navigation,
.custom-tools {
    background: #f0f4f8;
    /* Light blue sidebar background */
    flex: 0 0 13%;
    /* Fixed width */
    padding: 20px;
    overflow-y: auto;
    /* Allow scrolling if content overflows */
    align-items: center;
}

.services-navigation {
    order: 1;
}

.custom-tools {
    order: 3;
}

/* Styles for the custom-tools aside */
.custom-tools {
    position: relative; /* Needed for absolute positioning of footer links */
    background: #f0f4f8;
    flex: 0 0 13%;
    padding: 20px;
    overflow-y: auto;
    align-items: center;
    width: 13%; /* 👈 Add this line */
    max-width: 13%; /* Optional: for double safety */
}

/* Styles for the footer links */
.custom-tools .footer-links {
    position: absolute; /* Position the links absolutely */
    bottom: 0; /* Stick to the bottom */
    left: 0; /* Align to the left */
    width: 100%; /* Take full width of the sidebar */
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding:5%;
    /* justify-content: center; /* Align items to the right */
    align-items: center; /* Vertically align items */
    /* padding: 15px; */
    margin-bottom: 6%;
    /* border-top: 1px solid #ccc; /* Add a border at the top */
    box-sizing: border-box; /* Include padding and border in width */
}

.custom-tools .footer-links a {
    margin-right: 4%; /* Add spacing between links */
    color: #555; /* Set link color */
    text-decoration: none; /* Remove underline */
    font-size: 12px; /* Adjust font size */
}

.custom-tools .footer-links a:hover {
    text-decoration: underline; /* Add underline on hover */
}

.custom-tools .footer-links img {
    /* height: 100%; /* Adjust icon height */
    max-width:35px;
    padding:15%;
    width: auto; /* Maintain aspect ratio */
    vertical-align: middle; /* Vertically align with text */
    justify-items: left; /* Vertically align with text */
}

/* Main Stage */
.main-stage {
    background: #ffffff;
    /* White background for main stage */
    flex: 1;
    padding: 0px;
    /* Reduced Padding to 0 */
    order: 2;
    border-radius: 1%;
    border: 1px solid #CCCCCC;
    /* Added border property */
}

/* New Styles for Navigation Menu */

.services-navigation nav ul {
    list-style: none;
    padding: 0;
}

.services-navigation nav ul li {
    margin-bottom: 5px;
}

.services-navigation nav ul li strong {
    display: block;
    padding: 8px 10px;
    font-weight: bold;
    cursor: default;
    color: #333;
}

.services-navigation nav ul li ul {
    list-style: none;
    padding-left: 0px;
    margin-top: 5px;
}

.services-navigation nav ul li ul li a {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    color: #555;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.services-navigation nav ul li ul li a:hover {
    background-color: #f0f0f0;
    border-radius: 4px;
}

.services-navigation nav ul li ul li a.selected {
    background-color: #E3E3E3;
    border-radius: 4px;
}

/* New Styles for Header */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    height: 60px; /* Adjust height as needed */
    margin: 0;
    padding: 10px 20px;
    box-sizing: border-box;
    position: relative;
    /* background-color: #f8f9fa; Adjust to match your UI */
}

/* LOGO: Positioned on the top-left */
.header-container .logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 100%; /* Ensures it scales with its container */
    max-width: 170px; /* Adjust the max size as needed */
    margin-top: 3lvh;
    height: auto; /* Maintains aspect ratio */
  }

/* PAGE NAME: Floating at 13% of the screen, aligned to the menu */
.header-container .page-name-container {
    display: none;
    position: absolute;
    left: 13vw; /* 13% of the screen width */
    bottom: 0; /* Align bottom left corner */
    white-space: nowrap;
    font-size: 16px;
    font-weight: bold;
}

/* USER ACCOUNT ICON: Replace text with an icon */
.header-container .user-account {
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 35px; /* Set size for the circle 
    height: 35px;
    background-color: darkgreen; /* Temporary for visibility 
    border-radius: 50%;
    color: white;
    font-size: 18px; */
    cursor: pointer;
}

/* OPTIONAL: If using FontAwesome for an icon */
.header-container .user-account i {
    font-size: 18px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .header-container {
        padding: 10px;
    }

    .header-container .page-name-container {
        left: 10vw; /* Adjust for smaller screens */
    }
}
/* Style for the slider group */
.slider-group {
    background-color: #fff; /* White background */
    border-radius: 10px; /* Rounded corners */
    padding: 15px; /* Padding around the sliders */
    margin-bottom: 10px; /* Spacing below the container */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 100%;
    box-sizing: border-box;
}

/* Adjust slider-control-container within the group */
.slider-group #sliderControlContainer {
    margin: 0; /* Remove default margins */
    padding: 0; /* Remove default padding */
}

.slider-wrapper {
    margin-bottom: 10px;
    align-items: center;
}

.slider-container {
    display: flex;
    flex-direction: column;
}

.slider-control-container {
    display: block;
}

.slider-control-container-visible {
    display: block;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    /* Stack buttons vertically */
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    align-items: stretch;
    /* Align buttons to the start (left) */
}

/* Customize the range slider itself */
input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #007BFF;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #007BFF;
    cursor: pointer;
}

/* Ensure responsiveness on small screens */
@media (max-width: 600px) {
    .slider-group {
        padding: 10px;
        margin: 10px 0;
    }

    .action-buttons {
        width: 95%;
        flex-direction: column;
    }

    .slider-wrapper {
        flex-direction: column;
    }
}

/* Container for centering the content and making sure the design is fluid */
.container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    box-sizing: border-box;
}


.action-buttons {
    display: flex;
    flex-direction: column;
    /* Stack buttons vertically */
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    align-items: stretch;
    /* Align buttons to the start (left) */
} -->

.action-button {
    font-size: 12px;
    padding: 8px 14px;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    background-color: #007BFF;
    margin-bottom: 10px;
    /* Add space between buttons */
}

/* Styles for Agent List Buttons */

#agentListButtons {
    display: none;
    /* Hidden by default, controlled by JS */
    flex-direction: column;
    /* Stack buttons vertically */
    align-items: stretch;
    /* Stretch buttons to full width */
    width: 100%;
    /* Take full width of the sidebar */
    padding: 10px;
    /* Add some padding around the buttons */
    box-sizing: border-box;
    /* Include padding in width calculation */
}

#agentListButtons .action-button {
    margin-bottom: 10px;
    /* Add space between buttons */
    width: 100%;
    /* Make buttons take full width of the container */
    text-align: center;
    /* Center the text inside the buttons */
    box-sizing: border-box;
    /* Include padding in width calculation */
}

/* Styles for Agent Main Chat Actions */

#agentMainChatActions {
  /*  display: none; */
    flex-direction: column;
    /* Stack buttons vertically */
    align-items: stretch;
    width: 100%;
    /* Take full width of the sidebar */
    padding: 10px;
    /* Add some padding around the buttons */
    box-sizing: border-box;
    /* Include padding in width calculation */
}

#agentMainChatActions .action-button {
    margin-bottom: 10px;
    /* Add space between buttons */
    width: 100%;
    /* Make buttons take full width of the container */
    text-align: center;
    /* Center the text inside the buttons */
    box-sizing: border-box;
    /* Include padding in width calculation */
}

.hideRightMenu aside.custom-tools {
    display: none;
}

