:root {
  --app-bg-color: #f9f9f9bb;
  --wallpaper: url(light2.png);
  --app-text-color: #000;
  --maincolor: #1010f8;
}

body, #main-content {
  background-image: var(--wallpaper);
  background-size: cover;
  margin: 0px;
  height: 100vh;
  overflow: hidden;
  color: var(--app-text-color);
}
iframe{
  border-radius:8px;
  margin:2px;
  border:none;
  
}
/* 全画面のロック画面 */
#lock-screen {
  backdrop-filter: blur(16px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #00000030;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ロック画面が表示されているときのスタイル */
#lock-screen.show {
  opacity: 1;
  transform: scale(1);
}

/* 本来のコンテンツ */
#main-content.hidden {
  display: none;
}

#main-content.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.dock {
  margin: 0px;
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  position: fixed;
  bottom: 0px;
  width: 100vw;
  padding: 8px;
  background-color: var(--app-bg-color);
  align-items: center;
  padding-bottom: 0px;
}

/* Popoverの基本スタイル */
.popover, .window {
  backdrop-filter: blur(12px);
  position: absolute;
  top: 100px;
  left: 100px;
  background-color: var(--app-bg-color);
  border: 1px solid #ffffff88;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  max-height: 80vh;
  overflow-y: scroll;
  scrollbar-color: #000000 #000000;
  scrollbar-width: none;
  /* cursor: move; カーソル変更を削除 */
}

/* Popoverが表示されるとき */
#popover.show,
.window.show {
  opacity: 1;
  transform: scale(1);
}

/* 非表示状態 */
.hidden {
  display: none;
}

/* パスワード変更セクション */
#password-change-section {
  padding: 20px;
  background-color: #f0f0f0;
  border-radius: 0px 0px 10px 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  width: 400px;
}

p {
  margin: 8px;
}

.pass1 {
  border: none;
  border-bottom:2px solid #fff;
  background: #ffffff50;
  padding: 8px;
  margin: 0px;
  border-radius: 8px;
}
.pass1:focus {
  outline: none;
  border: none;
  
  border-bottom:2px solid var(--maincolor);
  background: #ffffff;
}
.pass2 {
  background: none;
  border: none;
  position: relative;
  display: inline-block;
  padding-left: 20px;
  color: #0000;
}
.pass2:after {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 縦の中央揃え */
}

button {
  border: none;
  background: none;
  padding: none;
}

.close-window, .close-popover {
  color:var(--app-text-color);
  font-weight: 200;
  background: none;
  border: none;
  font-size: 24px;
  margin: 0px;
  height: 40px;
  padding-right: 15px;
  padding-left: 15px;
  border-radius: 0px 9px 0px 0px;
  transition: all 0.2s ease;
}
.close-window:hover, .close-popover:hover {
  font-weight: 200;
  background: #f11;
  color: #fff;
  border: none;
  font-size: 24px;
  margin: 0px;
  height: 40px;
  padding-right: 15px;
  padding-left: 15px;
  border-radius: 0px 9px 0px 0px;
}

img {
  height: 30px;
  width: 30px;
  border-radius: 8px;
  transition: all 0.2s ease;
  padding: 5px;
}
img:hover {
  background: #00000020;
}

.button {
  background-color: #ccc;
  padding: 5px;
  margin: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

input[type="color"] {
  border: none;
  outline: none;
  padding: 0px;
  background: none;
}

        #notification {
          
  backdrop-filter: blur(16px);
            position: fixed;
            top: 20px;
            right: -300px; /* 初期位置を画面外に設定 */
            background-color: var(--app-bg-color);
            color: var(--app-text-color);
            padding: 15px;
            border-radius: 5px;
            transition: all 0.4s ease; /* アニメーションのトランジション */
            z-index: 10000;
          opacity: 1;
          min-width:250px;
        }

        #notification.show {
            right: 20px; /* 表示位置 */
          opacity: 1;
        }

        #notification.hide {
            right: -500px; /* 非表示位置 */
opacity: 0;  
}
.appmargin{
  margin:8px;
}
