/* Global Styles */
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    background-image: url("https://indieground.net/wp-content/uploads/2023/03/Freebie-GradientTextures-Preview-06.jpg"); /* Light blue background for now */
    color: #fff;
    font-family: 'Roboto', sans-serif;
  }
  
  #terminal {
    width: 100%;
    height: calc(100% - 40px); /* Account for the height of the window header */
  }
  
  .terminal.xterm.xterm-dom-renderer-owner-1 {
      height: 100%;
  }
  
  .xterm .xterm-screen {
      position: relative;
  }
  /* Command Prompt Styles */
  #terminal-window {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 75%; /* 3/4ths of the screen width */
    height: 75%; /* 3/4ths of the screen height */
    background: rgba(255, 255, 255, 0.2); /* Glassmorphism background */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); /* Depth */
    backdrop-filter: blur(20px); /* Frosted glass effect */
    overflow: hidden;
  }
  
  .window-header {
    background: rgb(2 5 14 / 65%); /* Slightly transparent */
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border */
    backdrop-filter: blur(10px); /* Frosted glass effect for header */
  }
  
  #cmd-title {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
  }
  
  .window-controls {
    display: flex;
    gap: 10px;
  }
  
  .control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #f96256; /* Close button color */
    border: none;
    cursor: pointer;
  }
  
  .control-btn.close-btn:hover {
    background-color: #f83a22; /* Darker on hover */
  }
  
  /* Slide-in animation for app frame */
  @keyframes slideIn {
    0% {
      opacity: 0;
      transform: translateY(100%);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .xterm-screen {
      padding: 1% 0 0 1%;
  }
  
  .xterm-viewport {
      background-color: rgb(0 0 0 / 74%) !important;
  }
  /* App Frame Styles */
  .app-frame {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background: rgb(2 5 14 / 65%); /* Glassmorphism background */
    border-radius: 15px; /* Rounded corners for a modern look */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); /* Smooth shadow for depth */
    display: flex;
    flex-direction: column;
    z-index: 10;
    opacity: 0; /* Initially hidden */
    transform: translateY(100%); /* Slide-in effect */
    transition: all 0.5s ease; /* Smooth transition */
    backdrop-filter: blur(20px); /* Frosted glass effect */
  }
  
  .app-frame.open {
    opacity: 1;
    transform: translateY(0); /* Move to original position */
    animation: slideIn 0.5s ease;
  }
  
  .app-header {
    background-color: rgba(255, 255, 255, 0.2); /* Slightly transparent */
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 15px; /* Rounded top corners */
    border-top-right-radius: 15px;
    backdrop-filter: blur(10px); /* Frosted glass effect for header */
  }
  
  #app-title {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
  }
  
  .app-controls {
    display: flex;
    gap: 10px;
  }
  
  .app-control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #f96256; /* Close button color */
    border: none;
    cursor: pointer;
  }
  
  .app-control-btn.close-btn:hover {
    background-color: #f83a22; /* Darker on hover */
  }
  
  #app-iframe {
    flex-grow: 1;
    width: 100%;
    border: none;
    border-bottom-left-radius: 15px; /* Rounded bottom corners */
    border-bottom-right-radius: 15px;
  }
  
  .xterm {
    font-family: 'Roboto Mono', monospace;
    font-size: 1em;
    color: #ffffff; /* Terminal font color set to white */
  }
  
  .xterm .xterm-viewport {
    overflow-y: auto !important;
    scrollbar-width: none; /* Hide scrollbar in Firefox */
  }
  
  .xterm .xterm-viewport::-webkit-scrollbar {
    width: 0px; /* Hide scrollbar in WebKit browsers */
    background: transparent;
  }
  