.tob-pay-custom {
  padding: 24px 0;

  .tob-pay-custom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .tob-pay-custom-label {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #1a1a1a;
  }

  .tob-pay-custom-value {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #1a1a1a;
  }

  .tob-pay-custom-input-section {
    margin-bottom: 16px;

    .tob-pay-custom-label {
      margin-bottom: 8px;
    }

    .tob-pay-custom-input-group {
      display: flex;
      align-items: center;
      border: 1px solid #d9d9d9;
      border-radius: 6px;
      overflow: hidden;

      .tob-pay-custom-currency {
        padding: 4px 11px;
        background-color: #fafafa;
        border-right: 1px solid #d9d9d9;
        font-size: 14px;
        color: #595959;
      }

      .ant-input-number {
        border: none;
        border-radius: 0;
        
        &:focus, &:focus-within {
          box-shadow: none;
        }
      }
    }
  }

  .tob-pay-custom-fee-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 16px;

    .tob-pay-custom-fee-text {
      font-size: 14px;
      font-weight: 400;
      color: #8c8c8c;
      flex: 1;
    }

    .tob-pay-custom-edit-fee {
      color: #6366f1;
      font-size: 14px;
      padding: 0;
      height: auto;
    }
  }
}

.tob-pay-custom-fee {
  padding: 24px 0;

  .tob-pay-custom-fee-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background-color: #f8f9ff;
    border-radius: 8px;
    margin-bottom: 24px;

    .tob-pay-custom-fee-info-icon {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background-color: #6366f1;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: bold;
    }

    .tob-pay-custom-fee-info-text {
      font-size: 14px;
      color: #1a1a1a;
    }
  }

  .tob-pay-custom-fee-row {
    display: flex;
    align-items: flex-end;
    gap: 20px;

    .tob-pay-custom-fee-section {
      flex: 1;

      .tob-pay-custom-fee-label {
        font-size: 14px;
        font-weight: 500;
        color: #1a1a1a;
        margin-bottom: 8px;
      }

      .tob-pay-custom-fee-input-group {
        display: flex;
        align-items: center;
        border: 1px solid #d9d9d9;
        border-radius: 6px;
        overflow: hidden;

        .tob-pay-custom-fee-unit {
          padding: 4px 11px;
          background-color: #fafafa;
          border-right: 1px solid #d9d9d9;
          font-size: 14px;
          color: #595959;
          white-space: nowrap;
        }

        &.reverse {
          .tob-pay-custom-fee-unit {
            border-right: none;
            border-left: 1px solid #d9d9d9;
            order: 2;
          }
        }

        .ant-input-number {
          border: none;
          border-radius: 0;
          
          &:focus, &:focus-within {
            box-shadow: none;
          }
        }
      }
    }

    .tob-pay-custom-fee-plus {
      font-size: 18px;
      font-weight: 500;
      color: #1a1a1a;
      padding-bottom: 8px;
    }
  }
} 