.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  

  dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    z-index: 1050;
  }
  
  dialog.modal-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    max-width: 600px;
    width: auto;
  }
  
  @media (max-width: 576px) {
    dialog.modal-dialog {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100vw !important;
      max-width: 100vw !important;
      margin: 0;
      border-radius: 0;
    }
  }

  #d-start::backdrop {
  background-color: rgba(0, 0, 0, var(--backdrop-opacity, 0.6));
}
  
  
  .dropdown-menu-scrollable {
    max-height: 250px;
    overflow-y: auto;
  }
  
  input[type="radio"] {
    appearance: none;
    width: 1.2em;
    height: 1.2em;
    border: 2px solid #28a745;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
  }
  input[type="radio"]:hover {
    border-color: #1e7e34;
  }
  input[type="radio"]:checked {
    background-color: #28a745;
    border-color: #28a745;
  }
  
  .form-check-input[type="checkbox"] {
    appearance: none;
    margin: 0;
    padding: 0;
  
    width: 1.5em;
    height: 1.5em;
    overflow: visible;
  
    vertical-align: middle;
    position: relative;
  
    border: 2px solid #007bff;
    border-radius: 4px;
    background-color: #fff;
    transition: background-color .2s, border-color .2s;
  }
  .form-check-input[type="checkbox"]:hover {
    border-color: #0056b3;
  }
  .form-check-input[type="checkbox"]:checked {
    background-color: #007bff;
    border-color: #007bff;
  }
  
  .form-check-input[type="checkbox"]::before {
    content: '';
    position: absolute;
    display: block;
    width: 0.5em;
    height: 0.8em;
    top: 0.2em;
    left: 0.45em;
    border: solid #fff;
    border-width: 0 0.2em 0.2em 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity .2s;
  }
  .form-check-input[type="checkbox"]:checked::before {
    opacity: 1;
  }
  
  .form-check-label {
    margin-left: 0.5em;
    vertical-align: middle;
    cursor: pointer;
  }
  
  input[type="radio"] + label {
    margin-left: 0.5em;
    cursor: pointer;
  }
  

  .editor-btn {
      display: block;
      width: 280px;
      margin: 12px auto;
      padding: 14px 0;
      border: none;
      border-radius: 30px;
      color: #fff;
      font-size: 1rem;
      font-weight: 600;
      text-align: center;
      cursor: pointer;
      background-size: 200% 100%;
      transition: background-position 0.3s, box-shadow 0.3s;

      display: flex;
      align-items: center;
      justify-content: center;
    }
    .editor-btn i {
      margin-right: 8px;
      font-size: 1.2rem;
    }
    .editor-btn:hover {
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
      background-position: 100% 0;
    }

    .btn-new {
      background-image: linear-gradient(45deg, #0ba360, #3cba92);
    }
    .btn-edit {
      background-image: linear-gradient(45deg, #147daa, #00a1d6);
    }
    .btn-offline {
      background-image: linear-gradient(45deg, #555555, #777777);
    }

            .createoption-button {
            width: 100%; /* 너비는 컨테이너를 따름 */
            /* max-width는 컨테이너로 이동 */
            border: none;
            border-radius: 12px;
            padding: 20px 30px; /* 패딩 조정 */
            cursor: pointer;
            outline: none;
            transition: all 0.3s ease-in-out;
            color: white;
            /* 아이콘과 텍스트를 정렬하기 위해 flex 사용 */
            display: flex;
            align-items: center;
            gap: 20px; /* 아이콘과 텍스트 사이 간격 */
        }

        .createoption-button:hover {
            transform: translateY(-3px);
        }
        
        .createoption-button:active {
            transform: translateY(-1px);
        }
        
        .button-icon {
            font-size: 32px;
            min-width: 32px;
        }

        .button-text-wrapper {
            display: flex;
            flex-direction: column;
            gap: 4px;
            pointer-events: none;
            text-align: left;
        }

        .button-title {
            font-size: 22px;
	    font-weight: bold;
            letter-spacing: 1px;
        }

        .button-description {
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 0.5px;
            opacity: 0.9;
        }

        .v1 {
            background: linear-gradient(90deg, #38b2ac, #2c7a7b);
            box-shadow: 0 5px 15px rgba(44, 122, 123, 0.3);
        }
        
        .v1:hover {
            box-shadow: 0 8px 25px rgba(44, 122, 123, 0.4);
        }
        
        .v1:active {
            box-shadow: 0 4px 15px rgba(44, 122, 123, 0.3);
        }

        .v2 {
            background: linear-gradient(90deg, #3a7bd5, #004e92);
            box-shadow: 0 5px 15px rgba(0, 78, 146, 0.3);
        }

        .v2:hover {
            box-shadow: 0 8px 25px rgba(0, 78, 146, 0.4);
        }

        .v2:active {
            box-shadow: 0 4px 15px rgba(0, 78, 146, 0.3);
        }

        .v3 {
            background: linear-gradient(90deg, #8e44ad, #9b59b6);
            box-shadow: 0 5px 15px rgba(142, 68, 173, 0.3);
        }

        .v3:hover {
            box-shadow: 0 8px 25px rgba(142, 68, 173, 0.4);
        }

        .v3:active {
            box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
        }

        .v4 {
            background: linear-gradient(90deg, #434343, #000000);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .v4:hover {
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        }

        .v4:active {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        #d-sel-new::backdrop {
          background-color: rgba(0, 0, 0, var(--backdrop-opacity, 0.9));
        }

        #d-ai-new::backdrop {
          background-color: rgba(0, 0, 0, var(--backdrop-opacity, 0.7));
        }
