@charset "utf-8";
/* CSS Document */

/* General Styles */

html, h1, h2, h3, h4, h5 {font-family: "Raleway", sans-serif;}

body {
    font-family: "Raleway", sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

body.nav-hidden .studio-sidebar {
  left: 0; /* Move D-ID menu to full left when nav hidden */
}


html, body {
    height: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Prevents horizontal scrolling */
    margin: 0;
    display: flex;
    flex-direction: column;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px; /* Adjust based on your header height */
    background-color: #333;
    color: white;
    z-index: 1000;
}

.content {
    margin-top: 70px; /* Pushes content below the header */
    flex: 1;
}

.compact-top {
    margin-top: 0px !important;
}

.footer {
    background-color: #333; /* Adjust as needed */
    color: white;
    text-align: center;
    padding: 10px;
    position: relative;
    width: 100%;
}

	html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}

img, video {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
}

h6 {
  color: #f8d307; /* Text color */
  font-size: 18px; /* Font size */
  font-weight: bold; /* Font weight */
  text-transform: uppercase; /* Transform text to uppercase */
  text-align: left; /* Align text to the left */
  margin-top: 10px; /* Margin around the h6 elements */
  margin-bottom: 0px;
  letter-spacing: 1px; /* Space between letters */
  line-height: 1; /* Line height */
}
	
h7 {
  color: #ffffff; /* Text color */
  font-size: 16px; /* Font size */
  font-weight: bold; /* Font weight */
  text-transform: normal; /* Transform text to uppercase */
  text-align: left; /* Align text to the left */
  margin-top: 10px; /* Margin around the h6 elements */
  margin-bottom: 0px;
  letter-spacing: 1px; /* Space between letters */
  line-height: 1; /* Line height */
}

h8 {
  color: #000000; /* Text color */
  font-size: 12px; /* Font size */
  font-weight: normal; /* Font weight */
  text-transform: normal; /* Transform text to uppercase */
  text-align: left; /* Align text to the left */
  margin-top: 10px; /* Margin around the h6 elements */
  margin-bottom: 0px;
  letter-spacing: 1px; /* Space between letters */
  line-height: 1; /* Line height */
}

h9 {
  color: #000000; /* Text color */
  font-size: 18px; /* Font size */
  font-weight: bold; /* Font weight */
  text-transform: normal; /* Transform text to uppercase */
  text-align: left; /* Align text to the left */
  margin-top: 10px; /* Margin around the h6 elements */
  margin-bottom: 0px;
  letter-spacing: 1px; /* Space between letters */
  line-height: 1; /* Line height */
}

.studio-wrapper {
  display: flex;
  flex-wrap: nowrap;
  height: 100vh;
  overflow: hidden;
}

.studio-sidebar {
  width: 180px;
  background: #000;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.tab-button {
  background: #f9a568;
  border: none;
  padding: 10px;
  margin-bottom: 5px;
  cursor: pointer;
}

.studio-controls {
  width: 250px;
  background: #fff;
  padding: 15px;
  border-left: 1px solid #ccc;
}

.tab-panel {
  display: none;
}

.studio-header {
  position: fixed;
  top: 0;
  left: 180px;
  right: 0;
  background: #333;
  color: white;
  padding: 10px;
  display: flex;
  gap: 10px;
  z-index: 1000;
}

.studio-canvas {
  flex-grow: 1;
  padding: 20px;
  background: #f0f0f0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.studio-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

/* Centered Content */
.container {
    width: 400px;
    margin: 100px auto;
    background: rgba(255, 255, 255, 0.1); /* Slight transparency */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
}

 .tab {
      overflow: hidden;
      border: 1px solid #ccc;
      background-color: #000000;
    }

    .tab button {
      background-color: #E1A715;
      float: left;
      border: none;
      outline: none;
      cursor: pointer;
      padding: 14px 16px;
      transition: 0.3s;
      font-size: 17px; /* Default font size */
    }

    .tab button:hover {
      background-color: #000;
		color: white;
    }

    .tab button.active {
      background-color: #000;
		color: #fff;
    }

    .tabcontent {
      display: none;
      padding: 6px 12px;
      border: 1px solid #ffffff;
      border-top: none;
    }

    .tab button {
      font-size: 16px; /* Adjust this value to change the font size */
    }

.horizontal-tabs {
  margin: 0 auto;
  padding: 0 1rem; /* Left/right padding */
}

.horizontal-tabs .tab-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 2px solid #F1F1F1;
  padding: 0 1rem;
  margin-bottom: 20px;
}

.horizontal-tabs .tab-content {
  padding: 1rem;
  margin: 0 1rem 20px 1rem;
  border: 1px solid #000000;
  border-top: none;
  background-color: #fff;
}

.responsive-textarea {
  width: 90%;
  max-width: 600px;
  box-sizing: border-box;
  font-size: 1rem;
  padding: 8px;
  resize: vertical;
}


.accordion {
  background-color: #000;
  color: #fff;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 12px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #white; 
}
	
.panel {
  padding: 0 18px;
  display: none;
  background-color: white;
  overflow: hidden;
}	

.w3-sidebar {
    transition: none !important;
}

/* Logo */
.logo {
    display: block;
    margin: 0 auto 20px;
    width: 150px;
}

/* Form Inputs */
input[type="text"], input[type="password"], select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    background: black;
    color: white;
}

.nav-panel {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Make panel full height */
}

.nav-links {
    flex-grow: 1; /* Allows the links to expand & be scrollable */
    overflow-y: auto; /* Enables scrolling if content is too long */
}

.nav-footer {
    padding: 10px;
    text-align: center;
    background: #333; /* Adjust color if needed */
    position: relative;
    bottom: 0;
    width: 100%;
}

.logo {
    max-width: 80%; /* Adjust size */
    height: auto;
    display: block;
    margin: 0 auto;
}

.logout-btn {
    display: block;
    margin-top: 10px;
    color: white;
    text-decoration: none;
    background: red; /* Adjust color */
    padding: 8px 16px;
    border-radius: 5px;
}


/* Header & Navigation */
.w3-bar {
    background-color: #333;
    color: white;
    padding: 10px;
}

.w3-bar .w3-right {
    float: right;
}

/* Center logo */
.w3-bar .w3-right.w3-center {
  text-align: center;
}

.w3-bar .w3-button {
  font-size: 16px !important;
}


/* Styles for non-clickable menu items */
.w3-non-clickable {
  cursor: default;
  color: #fff; /* Match the color of other menu items */
  background-color: inherit; /* Match the background color */
  pointer-events: none; /* Disable click events */
}

/* Button Styles */
button {
    background-color: blue;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: darkblue;
}

/* Button Styles */
.button-links {
    background-color: #E1A715;
    color: black;
    font-size: 12px;
    padding: 10px 10px;
    border: none;
    cursor: pointer;
    display: inline-block; /* Ensures it behaves like a button */
}

/* Style the link inside */
.button-links a {
    text-decoration: none; /* Removes underlining */
    color: black; /* Ensures text color remains */
    display: block; /* Ensures the whole div is clickable */
    padding: 5px; /* Ensures padding applies properly */
}

/* Hover effect */
.button-links:hover {
    background-color: #1D1601;
}

.button-links a:hover {
    color: white;
}

/* Keep main tab size when active */
#imageStudioButton.button-links {
    font-size: inherit !important;
}


table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  text-align: left;
  padding: 8px;
}


/* Login Form */
.login-container {
    width: 350px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        width: 90%;
    }
}


/* General styles for responsive videos and iframes */
.column video,
.column iframe {
  width: 100%;
  height: auto;
  margin-bottom: 20px; /* Add space between elements */
}

/* Styling for embedded iframe to maintain aspect ratio */
.embed-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (56.25% = 9/16 * 100) */
  margin-bottom: 50px; /* Add space below to avoid overlapping footer */
}

.embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0; /* Remove border */
}

/* Override for columns and iframes on smaller screens */
@media screen and (max-width: 768px) {
  .column {
    width: 100%;
    display: block; /* Stack videos on top of each other */
  }
}


  .embed-responsive iframe {
    aspect-ratio: auto; /* Reset aspect ratio for better auto sizing */
  }
}

/* Icon alignment */
.custom-icon {
  vertical-align: middle; /* or any specific value you need */
  margin-top: 0px; /* Adjust as necessary */
}

/* Ensure all elements box-sizing: border-box */
* {
  box-sizing: border-box;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.w3-bar-item.w3-button.active-tab {
  background-color: #E1A715!important;
  color: black !important;
  border: 1px solid black !important; /* Just to test */
}

.voice-select {
  width: 40%;
  max-width: 300px;
}

.voice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.voice-box {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  width: 220px;
  background: white;
}

.voice-dropdown {
  color: #ffffff;
}


#image-preview {
  max-width: 100%;
  max-height: 500px; /* You can adjust this based on layout */
  display: block;
  margin: auto;
  border: 1px solid #ccc;
}

.button-cancel {
  background-color: #3498db;
  color: white;
  font-weight: bold;
  font-size: 12px;  
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

