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

      body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        background: #f5f5f5;
        padding: 20px;
      }

      .container {
        max-width: 1150px;
        margin: 0 auto;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
      }

      .config-section {
        background: #2c3e50;
        color: white;
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
      }

      .config-group {
        display: flex;
        flex-direction: column;
      }

      .config-group label {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 5px;
        text-transform: uppercase;
        opacity: 0.8;
      }

      .config-group {
        position: relative;
      }

      .config-group input[type="password"],
      .config-group input[type="text"] {
        padding: 10px;
        padding-right: 44px;
        border: none;
        border-radius: 4px;
        font-size: 14px;
        width: 100%;
      }

      .has-toggle {
        position: relative;
        display: flex;
        align-items: center;
      }

      .has-toggle input {
        flex: 1;
        padding-right: 44px;
      }

      .toggle-password {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        font-size: 18px;
        line-height: 1;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #7f8c8d;
      }

      .toggle-password:hover {
        color: #2c3e50;
      }

      .config-section .toggle-password {
        color: #bdc3c7;
      }

      .config-section .toggle-password:hover {
        color: white;
      }

      .tabs {
        display: flex;
        border-bottom: 2px solid #e0e0e0;
        background: #fafafa;
      }

      .tab-button {
        flex: 1;
        padding: 15px;
        border: none;
        background: none;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        color: #666;
        border-bottom: 3px solid transparent;
        transition: all 0.3s;
      }

      .tab-button.active {
        color: #2c3e50;
        border-bottom-color: #2c3e50;
        background: white;
      }

      .tab-button:hover {
        background: white;
      }

      .tab-content {
        display: none;
        padding: 30px;
        animation: fadeIn 0.3s;
      }

      .tab-content.active {
        display: block;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
        }

        to {
          opacity: 1;
        }
      }

      .form-group {
        margin-bottom: 20px;
      }

      .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #333;
      }

      .form-group input,
      .form-group textarea,
      .form-group select {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        font-family: inherit;
      }

      .form-group input:focus,
      .form-group textarea:focus,
      .form-group select:focus {
        outline: none;
        border-color: #2c3e50;
        box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
      }

      .game-combobox {
        position: relative;
      }

      .game-combobox-trigger {
        width: 100%;
        text-align: left;
        padding: 10px 12px;
        background: white;
        border: 1px solid #ddd;
        border-radius: 4px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        color: #333;
        font-size: 14px;
        font-weight: 400;
      }

      .game-combobox-trigger:hover {
        border-color: #bdc3c7;
      }

      .game-combobox-trigger-label {
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .game-combobox-chevron {
        color: #7f8c8d;
        font-size: 12px;
      }

      .game-combobox-menu {
        position: absolute;
        z-index: 100;
        top: calc(100% + 4px);
        left: 0;
        right: 0;
        background: white;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        padding: 8px;
      }

      .game-combobox-menu .sync-game-search {
        width: 100%;
        padding: 8px 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-bottom: 8px;
        font-size: 14px;
        box-sizing: border-box;
      }

      .sync-game-list {
        list-style: none;
        max-height: 240px;
        overflow-y: auto;
        margin: 0;
        padding: 0;
      }

      .game-combobox-option {
        padding: 10px 12px;
        cursor: pointer;
        border-radius: 4px;
        font-size: 14px;
        color: #333;
      }

      .game-combobox-option:hover,
      .game-combobox-option.selected {
        background: #ecf0f1;
      }

      .game-combobox-empty {
        padding: 12px;
        color: #95a5a6;
        font-size: 13px;
        text-align: center;
      }

      .button-group {
        display: flex;
        gap: 10px;
        margin-top: 20px;
        flex-wrap: wrap;
      }

      button {
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s;
      }

      .btn-primary {
        background: #2c3e50;
        color: white;

      }
