/*
 * noVNC base CSS
 * Copyright (C) 2019 The noVNC Authors
 * noVNC is licensed under the MPL 2.0 (see LICENSE.txt)
 * This file is licensed under the 2-Clause BSD license (see LICENSE.txt).
 */

/*
 * Z index layers:
 *
 * 0: Main screen
 * 10: Control bar
 * 50: Transition blocker
 * 60: Connection popups
 * 100: Status bar
 * ...
 * 1000: Javascript crash
 * ...
 * 10000: Max (used for polyfills)
 */

 body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #1a1a2e;
  background-image: radial-gradient(ellipse at 20% 50%, rgba(0, 110, 190, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
  touch-action: none;
}

html {
  height: 100%;
}

.noVNC_only_touch.noVNC_hidden {
  display: none;
}

.noVNC_disabled {
  color: rgb(128, 128, 128);
}

/* ----------------------------------------
 * Spinner
 * ----------------------------------------
 */

.noVNC_spinner {
  position: relative;
}

.noVNC_spinner,
.noVNC_spinner::before,
.noVNC_spinner::after {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  box-shadow: -60px 10px 0 rgba(255, 255, 255, 0);
  animation: noVNC_spinner 1.0s linear infinite;
}

.noVNC_spinner::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  animation-delay: -0.1s;
}

.noVNC_spinner::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  animation-delay: 0.1s;
}

@keyframes noVNC_spinner {
  0% {
    box-shadow: -60px 10px 0 rgba(255, 255, 255, 0);
    width: 20px;
  }

  25% {
    box-shadow: 20px 10px 0 rgba(255, 255, 255, 1);
    width: 10px;
  }

  50% {
    box-shadow: 60px 10px 0 rgba(255, 255, 255, 0);
    width: 10px;
  }
}

/* ----------------------------------------
 * Input Elements
 * ----------------------------------------
 */

input:not([type]),
input[type=date],
input[type=datetime-local],
input[type=email],
input[type=month],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
input[type=week],
textarea {
  /* Disable default rendering */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;

  margin: 2px;
  padding: 2px;
  border: 1px solid rgb(192, 192, 192);
  border-radius: 5px;
  color: black;
  background: linear-gradient(to top, rgb(255, 255, 255) 80%, rgb(240, 240, 240));
}

input[type=button],
input[type=color],
input[type=reset],
input[type=submit],
select {
  /* Disable default rendering */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;

  margin: 2px;
  padding: 2px;
  border: 1px solid rgb(192, 192, 192);
  border-bottom-width: 2px;
  border-radius: 5px;
  color: black;
  background: linear-gradient(to top, rgb(255, 255, 255), rgb(240, 240, 240));

  /* This avoids it jumping around when :active */
  vertical-align: middle;
}

input[type=button],
input[type=color],
input[type=reset],
input[type=submit] {
  padding-left: 20px;
  padding-right: 20px;
}

option {
  color: black;
  background: white;
}

input:not([type]):focus,
input[type=button]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=reset]:focus,
input[type=search]:focus,
input[type=submit]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
select:focus,
textarea:focus {
  box-shadow: 0px 0px 3px rgba(74, 144, 217, 0.5);
  border-color: rgb(74, 144, 217);
  outline: none;
}

input[type=button]::-moz-focus-inner,
input[type=color]::-moz-focus-inner,
input[type=reset]::-moz-focus-inner,
input[type=submit]::-moz-focus-inner {
  border: none;
}

input:not([type]):disabled,
input[type=button]:disabled,
input[type=color]:disabled,
input[type=date]:disabled,
input[type=datetime-local]:disabled,
input[type=email]:disabled,
input[type=month]:disabled,
input[type=number]:disabled,
input[type=password]:disabled,
input[type=reset]:disabled,
input[type=search]:disabled,
input[type=submit]:disabled,
input[type=tel]:disabled,
input[type=text]:disabled,
input[type=time]:disabled,
input[type=url]:disabled,
input[type=week]:disabled,
select:disabled,
textarea:disabled {
  color: rgb(128, 128, 128);
  background: rgb(240, 240, 240);
}

input[type=button]:active,
input[type=color]:active,
input[type=reset]:active,
input[type=submit]:active,
select:active {
  border-bottom-width: 1px;
  margin-top: 3px;
}

:root:not(.noVNC_touch) input[type=button]:hover:not(:disabled),
:root:not(.noVNC_touch) input[type=color]:hover:not(:disabled),
:root:not(.noVNC_touch) input[type=reset]:hover:not(:disabled),
:root:not(.noVNC_touch) input[type=submit]:hover:not(:disabled),
:root:not(.noVNC_touch) select:hover:not(:disabled) {
  background: linear-gradient(to top, rgb(255, 255, 255), rgb(250, 250, 250));
}

/* ----------------------------------------
 * WebKit centering hacks
 * ----------------------------------------
 */

.noVNC_center {
  /*
   * This is a workaround because webkit misrenders transforms and
   * uses non-integer coordinates, resulting in blurry content.
   * Ideally we'd use "top: 50%; transform: translateY(-50%);" on
   * the objects instead.
   */
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.noVNC_center>* {
  pointer-events: auto;
}

.noVNC_vcenter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  pointer-events: none;
}

.noVNC_vcenter>* {
  pointer-events: auto;
}

/* ----------------------------------------
 * Layering
 * ----------------------------------------
 */

.noVNC_connect_layer {
  z-index: 60;
}

/* ----------------------------------------
 * Fallback error
 * ----------------------------------------
 */

#noVNC_fallback_error {
  z-index: 1000;
  visibility: hidden;
}

#noVNC_fallback_error.noVNC_open {
  visibility: visible;
}

#noVNC_fallback_error>div {
  max-width: 90%;
  padding: 20px 28px;

  transition: 0.5s ease-in-out;

  transform: translateY(-50px);
  opacity: 0;

  text-align: center;
  font-weight: 600;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;

  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(200, 55, 55, 0.4);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.92) 0%, rgba(185, 28, 28, 0.92) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#noVNC_fallback_error.noVNC_open>div {
  transform: translateY(0);
  opacity: 1;
}

#noVNC_fallback_errormsg {
  font-weight: normal;
}

#noVNC_fallback_errormsg .noVNC_message {
  display: inline-block;
  text-align: left;
  font-family: monospace;
  white-space: pre-wrap;
}

#noVNC_fallback_error .noVNC_location {
  font-style: italic;
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.8);
}

#noVNC_fallback_error .noVNC_stack {
  max-height: 50vh;
  padding: 10px;
  margin: 10px;
  font-size: 0.8em;
  text-align: left;
  font-family: monospace;
  white-space: pre;
  border: 1px solid rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.2);
  overflow: auto;
}

/* ----------------------------------------
 * Control Bar
 * ----------------------------------------
 */

#noVNC_control_bar_anchor {
  /* The anchor is needed to get z-stacking to work */
  position: fixed;
  z-index: 10;

  transition: 0.5s ease-in-out;

  /* Edge misrenders animations wihthout this */
  transform: translateX(0);
}

:root.noVNC_connected #noVNC_control_bar_anchor.noVNC_idle {
  opacity: 0.9;
}

#noVNC_control_bar_anchor.noVNC_right {
  left: auto;
  right: 0;
}

#noVNC_control_bar {
  position: relative;
  left: -100%;

  transition: 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);

  /* DaDesktop brand blue - cleaner version */
  background: linear-gradient(180deg, #00569a 0%, #004a80 100%);
  border-radius: 0 16px 16px 0;

  /* Glassmorphism */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

#noVNC_control_bar.noVNC_open {
  /* Soft elevation shadow */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  left: 0;
}

/* Removed outdated ::before shadow hacks */

.noVNC_right #noVNC_control_bar {
  left: 100%;
  border-radius: 16px 0 0 16px;
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.noVNC_right #noVNC_control_bar.noVNC_open {
  left: 0;
}

#noVNC_control_bar_handle {
  position: absolute;
  left: -12px;
  top: 0;
  transform: translateY(35px);
  width: calc(100% + 16px);
  height: 36px;
  z-index: -1;
  cursor: pointer;

  /* Modern handle styling */
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: background 0.2s ease;
}

#noVNC_control_bar_handle:hover {
  background: rgba(255, 255, 255, 0.2);
}

#noVNC_control_bar_handle div {
  position: absolute;
  right: -16px;
  top: 0;
  width: 16px;
  height: 36px;
  background: linear-gradient(180deg, #006ebe 0%, #005a9e 100%);
  border-radius: 0 8px 8px 0;

  /* Icon centering */
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
}

#noVNC_control_bar_handle div::after {
  content: "";
  display: block;
  width: 3px;
  height: 16px;
  border-radius: 1.5px;
  background: rgba(255, 255, 255, 0.7);
}

.noVNC_right #noVNC_control_bar_handle div {
  left: -16px;
  right: auto;
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
}

/* Remove old arrow styling */
#noVNC_control_bar_handle div:before {
  display: none;
}

:root:not(.noVNC_touch) #noVNC_control_bar_handle div {
  display: flex;
}

.noVNC_right #noVNC_control_bar_handle div {
  left: -16px;
  right: auto;
}

#noVNC_control_bar .noVNC_scroll {
  max-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 0 10px 0 5px;
}

.noVNC_right #noVNC_control_bar .noVNC_scroll {
  padding: 0 5px 0 10px;
}

/* Control bar hint */
#noVNC_control_bar_hint {
  position: fixed;
  left: calc(100vw - 50px);
  right: auto;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 100px;
  height: 50%;
  max-height: 600px;

  visibility: hidden;
  opacity: 0;
  transition: 0.2s ease-in-out;
  background: transparent;
  box-shadow: 0 0 10px black, inset 0 0 10px 10px rgba(110, 132, 163, 0.8);
  border-radius: 10px;
  transition-delay: 0s;
}

#noVNC_control_bar_anchor.noVNC_right #noVNC_control_bar_hint {
  left: auto;
  right: calc(100vw - 50px);
}

#noVNC_control_bar_hint.noVNC_active {
  visibility: visible;
  opacity: 1;
  transition-delay: 0.2s;
  transform: translateY(-50%) scale(1);
}

/* General button style */
.noVNC_button {
  display: block;
  /* vertical-align: middle; removed as it has no effect on block elements */
  width: 24px;
  height: 24px;
  padding: 12px;
  margin: 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;

  transition: all 0.2s ease;
  background-color: transparent;
}

.noVNC_button.noVNC_selected {
  /* DaDesktop Brand Primary Gradient */
  background: linear-gradient(135deg, #006ebe 0%, #00569a 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 110, 190, 0.3);
}

.noVNC_button:disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.noVNC_button:focus {
  outline: none;
  /* DaDesktop Brand Highlight */
  border-color: #0088eb;
  box-shadow: 0 0 0 2px rgba(0, 136, 235, 0.3);
}

.noVNC_button:active {
  transform: translateY(1px);
}

/* Hover state for non-touch */
:root:not(.noVNC_touch) .noVNC_button.noVNC_selected:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #0077cf 0%, #006ebe 100%);
}

:root:not(.noVNC_touch) .noVNC_button:not(.noVNC_selected):hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
}

.noVNC_button.noVNC_hidden {
  display: none;
}

/* Panels */
.noVNC_panel {
  transform: translateX(25px);

  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  visibility: hidden;
  opacity: 0;

  padding: 18px;

  background: #ffffff;
  border-radius: 14px;
  color: #1f2937;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.noVNC_panel.noVNC_open {
  visibility: visible;
  opacity: 1;
  transform: translateX(75px);
}

.noVNC_right .noVNC_vcenter {
  left: auto;
  right: 0;
}

.noVNC_right .noVNC_panel {
  transform: translateX(-25px);
}

.noVNC_right .noVNC_panel.noVNC_open {
  transform: translateX(-75px);
}

.noVNC_panel hr {
  border: none;
  border-top: 1px solid rgb(192, 192, 192);
}

.noVNC_panel label {
  display: block;
  white-space: nowrap;
}

.noVNC_panel .noVNC_heading {
  background: linear-gradient(135deg, #006ebe 0%, #0088eb 100%);
  border-radius: 10px;
  padding: 8px 12px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.noVNC_panel .noVNC_heading img {
  vertical-align: bottom;
}

.noVNC_submit {
  float: right;
}

/* Expanders */
.noVNC_expander {
  cursor: pointer;
}

.noVNC_expander::before {
  content: url("../images/expander.svg");
  display: inline-block;
  margin-right: 5px;
  transition: 0.2s ease-in-out;
}

.noVNC_expander.noVNC_open::before {
  transform: rotateZ(90deg);
}

.noVNC_expander~* {
  margin: 5px;
  margin-left: 10px;
  padding: 5px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 5px;
}

.noVNC_expander:not(.noVNC_open)~* {
  display: none;
}

/* Control bar content */

#noVNC_control_bar .noVNC_logo {
  font-size: 13px;
}

:root:not(.noVNC_connected) #noVNC_view_drag_button {
  display: none;
}

/* noVNC Touch Device only buttons */
:root:not(.noVNC_connected) #noVNC_mobile_buttons {
  display: none;
}

:root:not(.noVNC_touch) #noVNC_mobile_buttons {
  display: none;
}

/* Extra manual keys */
:root:not(.noVNC_connected) #noVNC_toggle_extra_keys_button {
  display: none;
}

#noVNC_modifiers {
  background-color: #00569a;
  border: none;
  padding: 0 10px;
}

/* Shutdown/Reboot */
:root:not(.noVNC_connected) #noVNC_power_button {
  display: none;
}



#noVNC_power_buttons {
  display: none;
}

#noVNC_power input[type=button] {
  width: 100%;
}

/* Clipboard */
:root:not(.noVNC_connected) #noVNC_clipboard_button {
  display: none;
}

#noVNC_clipboard {
  /* Full screen, minus padding and left and right margins */
  max-width: calc(100vw - 2*15px - 75px - 25px);
}

#noVNC_clipboard_text {
  width: 500px;
  max-width: 100%;
}

/* Settings */


#noVNC_settings ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

#noVNC_setting_port {
  width: 80px;
}

#noVNC_setting_path {
  width: 100px;
}

/* Version */

.noVNC_version_wrapper {
  font-size: small;
}

.noVNC_version {
  margin-left: 1rem;
}

/* Connection Controls */
:root:not(.noVNC_connected) #noVNC_disconnect_button {
  display: none;
}

/* ----------------------------------------
 * Status Dialog
 * ----------------------------------------
 */

#noVNC_status {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transform: translateY(-100%);
  cursor: pointer;

  /* Modern Notification Style */
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  visibility: hidden;
  opacity: 0;

  padding: 16px 24px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  line-height: 1.5;
  word-wrap: break-word;
  color: #fff;

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;

  /* Glassmorphism & Shadow */
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  /* Rounded bottom corners */
  border-radius: 0 0 16px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#noVNC_status.noVNC_open {
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
}

#noVNC_status::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 12px;
  flex-shrink: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0) invert(1);
}

/* Notification Gradient Backgrounds */

#noVNC_status.noVNC_status_normal {
  /* Brand green notification */
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.95) 0%, rgba(20, 110, 68, 0.95) 100%);
}

#noVNC_status.noVNC_status_normal::before {
  background-image: url("../images/info.svg");
}

#noVNC_status.noVNC_status_error {
  /* Error - Vibrant Red Gradient */
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.95) 100%);
}

#noVNC_status.noVNC_status_error::before {
  background-image: url("../images/error.svg");
}

#noVNC_status.noVNC_status_warn {
  /* Warning - Vibrant Orange Gradient */
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95) 0%, rgba(217, 119, 6, 0.95) 100%);
}

#noVNC_status.noVNC_status_warn::before {
  background-image: url("../images/warning.svg");
}

/* ----------------------------------------
 * Connect Dialog
 * ----------------------------------------
 */

#noVNC_connect_dlg {
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  transform: scale(0.9);
  visibility: hidden;
  opacity: 0;

  /* Modern card */
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 40px 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

#noVNC_connect_dlg.noVNC_open {
  transform: scale(1);
  visibility: visible;
  opacity: 1;
}

#noVNC_connect_dlg .noVNC_logo {
  transition: 0.5s ease-in-out;
  padding: 10px;
  margin-bottom: 16px;

  font-size: 72px;
  text-align: center;

  border-radius: 12px;
}

@media (max-width: 440px) {
  #noVNC_connect_dlg {
    max-width: calc(100vw - 40px);
    padding: 28px 24px;
  }

  #noVNC_connect_dlg .noVNC_logo {
    font-size: calc(25vw - 30px);
  }
}

#noVNC_connect_button {
  cursor: pointer;
  padding: 4px;
  color: white;
  border-radius: 16px;
  text-align: center;
  font-size: 18px;
  margin-top: 8px;

  background: linear-gradient(135deg, #006ebe 0%, #0088eb 100%);
  box-shadow: 0 6px 20px rgba(0, 110, 190, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#noVNC_connect_button:hover {
  box-shadow: 0 8px 28px rgba(0, 110, 190, 0.5);
  transform: translateY(-2px);
}

#noVNC_connect_button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 110, 190, 0.3);
}

#noVNC_connect_button div {
  padding: 12px 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: transparent;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  vertical-align: middle;
}

#noVNC_connect_button div:active {
  border-bottom-width: 1px;
}

:root:not(.noVNC_touch) #noVNC_connect_button div:hover {
  background: rgba(255, 255, 255, 0.08);
}

#noVNC_connect_button img {
  vertical-align: bottom;
  height: 1.2em;
  filter: brightness(0) invert(1);
}

/* ----------------------------------------
 * Password Dialog
 * ----------------------------------------
 */

#noVNC_credentials_dlg {
  position: relative;
  transform: translateY(-50px);
}

#noVNC_credentials_dlg.noVNC_open {
  transform: translateY(0);
}

#noVNC_credentials_dlg ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

#noVNC_password_dlg {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  min-width: 280px;
}

#noVNC_password_dlg ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#noVNC_password_dlg li {
  margin-bottom: 16px;
}

#noVNC_password_dlg li:last-child {
  margin-bottom: 0;
}

#noVNC_password_dlg label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

#noVNC_password_input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  background: #f9fafb;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

#noVNC_password_input:focus {
  border-color: #006ebe;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 110, 190, 0.15);
}

#noVNC_password_button {
  width: 100%;
  padding: 10px 24px;
  background: linear-gradient(135deg, #006ebe 0%, #0088eb 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 110, 190, 0.25);
}

#noVNC_password_button:hover {
  box-shadow: 0 6px 20px rgba(0, 110, 190, 0.4);
  transform: translateY(-1px);
}

#noVNC_password_button:active {
  transform: translateY(0);
}

.noVNC_hidden {
  display: none;
}


/* ----------------------------------------
 * Main Area
 * ----------------------------------------
 */

/* Transition screen */
#noVNC_transition {
  display: none;

  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;

  color: white;
  background: rgba(10, 10, 30, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 50;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

:root.noVNC_loading #noVNC_transition,
:root.noVNC_connecting #noVNC_transition,
:root.noVNC_disconnecting #noVNC_transition,
:root.noVNC_reconnecting #noVNC_transition {
  display: flex;
}

:root:not(.noVNC_reconnecting) #noVNC_cancel_reconnect_button {
  display: none;
}

#noVNC_transition_text {
  font-size: 1.4em;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#noVNC_cancel_reconnect_button {
  padding: 8px 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

#noVNC_cancel_reconnect_button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Main container */
#noVNC_container {
  width: 100%;
  height: 100%;
  background-color: #1a1a2e;
}

#noVNC_keyboardinput {
  width: 1px;
  height: 1px;
  background-color: #fff;
  color: #fff;
  border: 0;
  position: absolute;
  left: -40px;
  z-index: -1;
  ime-mode: disabled;
}

/*Default noVNC logo.*/
/* From: http://fonts.googleapis.com/css?family=Orbitron:700 */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  src: local('?'), url('Orbitron700.woff') format('woff'),
    url('Orbitron700.ttf') format('truetype');
}

.noVNC_logo {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Orbitron', 'OrbitronTTF', sans-serif;
  line-height: 90%;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.noVNC_logo span {
  color: rgb(25, 135, 84);
}

#noVNC_bell {
  display: none;
}

/* ----------------------------------------
 * Media sizing
 * ----------------------------------------
 */

@media screen and (max-width: 640px) {
  #noVNC_logo {
    font-size: 150px;
  }
}

@media screen and (min-width: 321px) and (max-width: 480px) {
  #noVNC_logo {
    font-size: 110px;
  }
}

@media screen and (max-width: 320px) {
  #noVNC_logo {
    font-size: 90px;
  }
}