/* styles.css */
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

.file-input { display: none; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #0a0f29;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Overlay con degradado */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
      rgba(10, 15, 41, 0) 0%, 
      rgba(10, 15, 41, 0) 66%, 
      rgba(7, 10, 30, 0.8) 85%, 
      rgba(5, 7, 20, 0.95) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Header */
header {
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  width: 35px;
  height: 35px;
}

.logo-text {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.logo-separator {
  width: 145px;
  height: 1px;
  background-color: #fff;
  margin: 0 15px;
}

.language-selector {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
}

.container {
  padding: 0;
  flex: 1;
  display: flex;
  position: relative;
  z-index: 4; 
  height: calc(100vh); 
  width: 100%;
}

/* Sidebar con botones circulares - 25% del ancho total */
.functionality-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 100px;
  width: 30%;
  height: 95vh;
  position: absolute; 
  left: 0; 
  top: 0; 
  bottom: 0; 
  padding: 0;
  z-index: 5;
}

.icon-circle {
  width: 170px; 
  height: 170px; 
  border-radius: 50%;
  border: 1px solid #535BC6;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(15, 20, 50, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  color: white;
}

.icon-circle svg {
  width: 60px; 
  height: 60px; 
}

.icon-circle:hover, .icon-circle.active {
  background-color: rgba(83, 91, 198, 0.3);
  transform: scale(1.05);
}

.icon-label {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  background-color: rgba(255, 255, 255, 0.8);
  color: #0a0f29;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 100;
}

.icon-circle:hover .icon-label {
  opacity: 1;
}

/* Contenido principal - 70% del ancho total */
.main-content {
  width: 70%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 30%; 
}

.transcription-section {
  background-color: rgba(15, 20, 50, 0.3);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  border: 1px solid #535BC6;
  margin-bottom: 20px;
  width: 85%;
  height: 80vh;
  max-height: 80vh;
  position: relative;
  padding-bottom: 70px; /* Espacio para el botón de enviar */
}

.buttons-container {
  display: flex; 
  align-items: center;
  flex-wrap: wrap;
  gap: 10px; 
  margin-bottom: 20px;
}

.audio-list { 
  flex: 1; 
  overflow-y: auto; 
  margin: 0; 
}

.transcription-container { 
  flex: 1; 
  overflow-y: auto; 
}

/* Ocultar inicialmente el visor */
.bottom-section {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  gap: 20px; 
  width: 85%; /* Ocupar todo el ancho */
  margin-left: 0; /* Sin margen izquierdo */
  height: 50vh;
}

.bottom-section.visible {
  display: flex;
  opacity: 1;
}

.iframe-container {
  flex: 1; 
  background-color: rgba(15, 20, 50, 0.3); 
  border-radius: 10px; 
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3); 
  display: flex; 
  flex-direction: column; 
  position: relative;
  border: 1px solid #535BC6;
  min-height: 400px;
}

iframe#youtrackFrame { 
  width: 100%; 
  height: 100%; 
  border: none; 
  border-radius: 8px;
  background-color: #0a0f29;
}

.expand-all-iframe-btn, .expand-btn {
  background-color: transparent;
  color: #fff; 
  border: 1px solid #535BC6;
  border-radius: 10px;
  padding: 8px 12px; 
  cursor: pointer;
  transition: all 0.3s ease;
}

.expand-all-iframe-btn:hover, .expand-btn:hover {
  border: none;
  box-shadow: 0 0 5px 1px rgba(205, 207, 235, 0.6);
  background-color: rgba(83, 91, 198, 0.1);
}

.bottom-section.fullscreen {
  position: fixed; 
  top: 100px; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background: #0a0f29; 
  z-index: 999999; /* Aumentar z-index para que esté por encima de todo, incluido el header */
  margin: 0; 
  padding: 0; 
  flex-direction: column; 
  border-radius: 0;
}

.bottom-section.fullscreen .iframe-container {
  flex: 1; 
  padding: 0; 
  border-radius: 0; 
  box-shadow: none;
}

.bottom-section.fullscreen .iframe-controls {
  position: relative;
  z-index: 1000000; /* Aumentar para asegurar que los controles estén por encima de todo */
  padding: 10px;
  background-color: rgba(10, 15, 41, 0.95); /* Añadir fondo para asegurar visibilidad */
}

.fullscreen-close-btn {
  position: absolute; 
  top: 10px; 
  right: 10px; 
  z-index: 999999999;
  background-color: transparent; 
  color: #fff; 
  border: 1px solid white; 
  padding: 8px 12px;
  border-radius: 4px; 
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.fullscreen-close-btn:hover { 
  background-color: rgba(255, 255, 255, 0.1); 
}

.transcription-item {
  padding: 15px; 
  border-radius: 8px; 
  background-color: rgba(15, 20, 50, 0.5);
  margin-bottom: 15px; 
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  border: 1px solid rgba(83, 91, 198, 0.3);
}

.filter-controls {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  margin-bottom: 15px; 
  padding-bottom: 10px; 
  border-bottom: 1px solid rgba(83, 91, 198, 0.3);
}

.filter-buttons { 
  display: flex; 
  gap: 10px; 
}

.filter-btn {
  width: 40px; 
  height: 40px; 
  border-radius: 50%; 
  background-color: rgba(15, 20, 50, 0.5);
  color: rgba(255, 255, 255, 0.7); 
  border: 1px solid #535BC6; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  transition: all 0.3s ease;
}

.filter-btn.active { 
  background-color: rgba(83, 91, 198, 0.3); 
  color: #fff; 
}

.filter-btn:hover {
  border: none;
  box-shadow: 0 0 5px 1px rgba(205, 207, 235, 0.6);
  background-color: rgba(83, 91, 198, 0.1);
}

/* Nuevo botón de enviar */
.send-button-container {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(83, 91, 198, 0.3);
  z-index: 7;
}

.send-btn {
  padding: 8px 30px; 
  border-radius: 10px; 
  background-color: transparent; 
  color: #fff;
  border: 1px solid #535BC6; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.send-btn:hover:not(:disabled) {
  border: none;
  box-shadow: 0 0 5px 1px rgba(205, 207, 235, 0.6);
  background-color: rgba(83, 91, 198, 0.1);
}

.send-btn:disabled { 
  background-color: rgba(83, 91, 198, 0.1); 
  cursor: not-allowed; 
  opacity: 0.7;
}

.record-btn, .upload-btn {
  background-color: transparent;
  color: #fff;
  border: 1px solid #535BC6;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.record-btn:hover, .upload-btn:hover {
  border: none;
  box-shadow: 0 0 5px 1px rgba(205, 207, 235, 0.6);
  background-color: rgba(83, 91, 198, 0.1);
}

.record-btn.recording {
  background-color: rgba(255, 0, 0, 0.3);
  border-color: rgba(255, 0, 0, 0.8);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

.status { 
  font-size: 14px; 
  margin-top: 10px; 
  color: rgba(255, 255, 255, 0.7);
}

/* Modal genérico */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}

.modal-container {
  background-color: #0a0f29;
  border: 1px solid #535BC6;
  border-radius: 10px;
  padding: 30px;
  width: 80%;
  max-width: 800px;
  min-height: 500px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

.modal-close:hover {
  color: #535BC6;
}

.modal-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.modal-content {
  position: relative;
}

/* Popup mail overlay */
.mail-overlay {
  display: none; 
  position: fixed; 
  z-index: 10001;
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  backdrop-filter: blur(3px);
  align-items: center; 
  justify-content: center;
}

.mail-popup {
  background-color: #0a0f29; 
  width: 90%; 
  height: 90%; 
  max-width: 1600px; 
  max-height: 900px;
  border-radius: 10px; 
  overflow: hidden; 
  display: flex; 
  flex-direction: column;
  margin: 0 auto;
  border: 1px solid #535BC6;
}

.mail-popup-header {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  background-color: rgba(83, 91, 198, 0.3); 
  color: #fff; 
  padding: 15px;
}

.close-mail-btn {
  background: transparent; 
  border: 1px solid white; 
  color: #fff; 
  padding: 4px 8px; 
  border-radius: 4px; 
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-mail-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mail-content {
  flex: 1; 
  display: flex; 
  overflow: hidden;
}

.mail-list {
  width: 40%; 
  border-right: 1px solid #535BC6; 
  overflow-y: auto; 
  padding: 10px;
  background-color: rgba(15, 20, 50, 0.2);
}

.mail-viewer {
  width: 60%; 
  padding: 10px; 
  overflow-y: auto; 
  background-color: rgba(15, 20, 50, 0.3);
}

.mail-body-content {
  background-color: rgba(15, 20, 50, 0.5); 
  border-radius: 5px; 
  padding: 10px; 
  min-height: 100%;
  overflow: auto;
  border: 1px solid rgba(83, 91, 198, 0.3);
}

.mail-viewer p, .mail-body-content p, .mail-viewer li, .mail-body-content li {
  color: #fff!important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
}

#mailTable { 
  width: 100%; 
  border-collapse: collapse; 
  margin-bottom: 10px; 
}

#mailTable th, #mailTable td {
  text-align: left; 
  padding: 12px 15px;
  border-bottom: 1px solid rgba(83, 91, 198, 0.3);
}

#mailTable th {
  background-color: rgba(83, 91, 198, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

#mailTable tr {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#mailTable tr:hover {
  background-color: rgba(83, 91, 198, 0.1);
}

#mailTable tr.selected {
  background-color: rgba(83, 91, 198, 0.2);
}

.process-mail-btn-container {
  position: sticky;
  bottom: 0;
  background-color: rgba(15, 20, 50, 0.8);
  padding: 15px 0;
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 10;
  border-top: 1px solid rgba(83, 91, 198, 0.3);
}

.process-mail-btn {
  padding: 8px 30px;
  background-color: transparent;
  color: white;
  border: 1px solid #535BC6;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 150px;
}

.process-mail-btn:hover {
  border: none;
  box-shadow: 0 0 5px 1px rgba(205, 207, 235, 0.6);
  background-color: rgba(83, 91, 198, 0.1);
}

/* Audio player */
.audio-item {
  background-color: rgba(15, 20, 50, 0.5);
  border: 1px solid rgba(83, 91, 198, 0.3);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

.audio-player {
  width: 100%;
  background-color: transparent;
}

.time-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 5px;
}

.transcription-audio {
  margin-bottom: 10px;
  background-color: rgba(15, 20, 50, 0.5);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
}

.transcription-text {
  margin-top: 10px;
  line-height: 1.5;
  white-space: pre-line;
}

.text-edit-container {
  position: relative;
}

.editable-text {
  min-height: 50px;
  padding: 10px;
  background-color: rgba(15, 20, 50, 0.3);
  border: 1px solid rgba(83, 91, 198, 0.3);
  border-radius: 5px;
  width: 100%;
  color: white;
}

.edit-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.edit-btn:hover {
  color: #4db8ff;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.transcription-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(83, 91, 198, 0.3);
}

.transcription-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  text-align: right;
}

.delete-transcription-btn {
  background: none !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.7) !important; /* Color blanco con opacidad */
  padding: 5px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.delete-transcription-btn:hover {
  color: rgba(255, 255, 255, 1) !important; /* Blanco completo al hover */
  transform: scale(1.1);
}

h2 {
  color: white;
  margin-bottom: 15px;
  font-weight: 500;
  font-size: 22px;
}

.audio-info {
  flex-grow: 1;
  margin-left: 10px;
}

.audio-name {
  font-size: 14px;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.9);
}

.audio-duration {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.audio-progress {
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin-top: 5px;
  overflow: hidden;
}

.audio-progress-bar {
  height: 100%;
  width: 0;
  background-color: #535BC6;
  border-radius: 2px;
}

.play-button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.play-button:hover {
  color: #535BC6;
  transform: scale(1.1);
}

/* Botones de acciones */
.add-prerecorded-btn {
  background-color: rgba(15, 20, 50, 0.5) !important;
  color: white !important;
  border: 1px solid #535BC6 !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  margin-left: 10px !important;
}

.add-prerecorded-btn:hover {
  background-color: rgba(83, 91, 198, 0.3) !important;
  transform: scale(1.1);
}

/* Inputs y controles de iframe */
#projectNameInput {
  padding: 6px 10px;
  border: 1px solid #535BC6;
  border-radius: 5px;
  background-color: rgba(15, 20, 50, 0.3);
  color: white;
}

#exportYoutrackBtn {
  background-color: transparent;
  color: white;
  border: 1px solid #535BC6;
  padding: 8px 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#exportYoutrackBtn:hover {
  border: none;
  box-shadow: 0 0 5px 1px rgba(205, 207, 235, 0.6);
  background-color: rgba(83, 91, 198, 0.1);
}

#resultLink {
  background-color: transparent;
  color: white;
  border: 1px solid #535BC6;
  padding: 8px 15px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

#resultLink:hover {
  border: none;
  box-shadow: 0 0 5px 1px rgba(205, 207, 235, 0.6);
  background-color: rgba(83, 91, 198, 0.1);
}

.iframe-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  padding-top: 20px;
padding-left: 10px;
}

/* Footer */
footer {
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-link a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
}

.footer-link a:hover, .footer-links a:hover {
  opacity: 0.8;
}

.arrow {
  margin-left: 8px;
  font-size: 10px;
}

.copyright {
  text-align: center;
  padding: 20px 40px;
  font-size: 12px;
  line-height: 1.6;
  position: relative;
  z-index: 10;
}

.demos-button {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

/* Efectos de fade */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Efecto de loading para botones */
.btn-loading {
  position: relative;
  overflow: hidden;
}

.btn-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent
  );
  animation: loading-wave 1.5s infinite;
}

@keyframes loading-wave {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Demo menu */
.demo-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  backdrop-filter: blur(3px);
}

.demo-menu-container {
  position: absolute;
  bottom: 100px;
  left: 105px;
  width: 30%;
  background-color: transparent;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.demo-menu-items {
  padding: 20px 0;
  position: relative;
}

.demo-menu-items::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 25px;
  height: 1px;
  background-color: transparent;
}

.demo-menu-item {
  position: relative;
  padding: 10px 0 10px 100px;
  color: #ffffff;
  text-decoration: none;
  display: block;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-weight: normal;
}

.demo-menu-item:hover {
  color: #ffffff;
  font-weight: bold;
}

.demo-menu-item.active {
  color: #ffffff;
  font-weight: bold;
}

.demo-menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 75px;
  height: 1px;
  background-color: #ffffff;
  opacity: 0;
  transition: opacity 1;
  display: block;
  visibility: visible;
}

.demo-menu-item:hover::before, .demo-menu-item.active::before {
  opacity: 1;
}

.demo-menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  z-index: 1;
  transition: all 0.3s ease;
}

.demo-menu-close:hover {
  color: whitesmoke;
}

/* Estilos para scrollbars personalizados */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 20, 50, 0.2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(70, 90, 220, 0.2);
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(70, 90, 220, 0.3);
}

/* Para Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 44, 107, 0.5) rgba(15, 20, 50, 0.2);
}

/* Responsive */
@media (max-width: 1200px) {
  .container {
    flex-direction: column;
    height: auto;
  }
  
  .functionality-sidebar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 100%;
    height: auto;
    position: relative;
    padding: 30px 20px;
  }
  
  .main-content {
    width: 100%;
    padding: 20px;
    margin-left: 0;
  }
  
  .icon-circle {
    width: 120px;
    height: 120px;
  }
  
  .icon-circle svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 20px;
  }
  
  .logo-separator {
    width: 80px;
  }
  
  .functionality-sidebar {
    gap: 20px;
    padding: 20px 10px;
  }
  
  .icon-circle {
    width: 100px;
    height: 100px;
  }
  
  .icon-circle svg {
    width: 30px;
    height: 30px;
  }
  
  .iframe-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .mail-content {
    flex-direction: column;
  }
  
  .mail-list, .mail-viewer {
    width: 100%;
  }
  
  .modal-container {
    width: 95%;
    padding: 15px;
  }
  
  footer {
    padding: 20px;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .footer-links {
    align-items: flex-start;
  }
  
  .demo-menu-container {
    width: 80%;
    left: 10%;
  }


}